text becomes invisible [multiline-TextBox, readonly, win7]

The place for threads about TimoSoft EditControls.
Post Reply
enterprise01
Cadet
Posts: 7
Joined: 27 Oct 2014, 09:58

text becomes invisible [multiline-TextBox, readonly, win7]

Post by enterprise01 »

Hi TiKu,

I have a problem with a multiline-TextBox. It is set to readonly and if it has a mouseover, the text becomes invisible.
The text is still there, you can click into the TextBox and you can see it again, but if you move the cursor, it disappears again.
It doesn't happen in winXP, only in win7 if the app is themed.
There's also no problem, if the TextBox ist not multiline or not readonly.

Do you have an idea?

greetings,

enterprise01
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by TiKu »

Hi,

Can you reproduce it with the PerformanceTest sample, which uses a multi-line read-only TextBox?
Which version of the control library do you use? Is the control placed inside a Frame control or a TabStrip control?

So far I cannot reproduce the problem.

Regards
TiKu
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
enterprise01
Cadet
Posts: 7
Joined: 27 Oct 2014, 09:58

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by enterprise01 »

Thanks for the fast answer! (and of course thanks for all the great controls! :) )

You are right, the performanceTest sample is ok, but if I place all the stuff in a Frame - voila - the text disappers in the left TextBox.
That's it!
So you could try to reproduce it with a TextBox inside a Frame as my TextBoxes are also placed inside a frame-control.

greetings,

enterprise01
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by TiKu »

I can reproduce it now. However, it might take a while to fix it.

Regards
TiKu
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
enterprise01
Cadet
Posts: 7
Joined: 27 Oct 2014, 09:58

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by enterprise01 »

Good that you can reproduce it.
So, best wishes for success in finding a solution.

greetings,

enterprise01
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by TiKu »

Hi,

See the attached release. It should fix the redrawing problems.

Regards
TiKu
Attachments
tbarctls123228-rel.zip
(2.22 MiB) Downloaded 442 times
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
enterprise01
Cadet
Posts: 7
Joined: 27 Oct 2014, 09:58

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by enterprise01 »

Hi TiKu,

great, I will try it on monday and give you a feedback.

greetings,

enterprise01
enterprise01
Cadet
Posts: 7
Joined: 27 Oct 2014, 09:58

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by enterprise01 »

Hi TiKu,

is it possible, that you have attached the wrong zipfile?
I think the textbox-control should be replaced and not the toolbar-control ;)
But maybe I am thinking in a wrong direction.

greetings,

enterprise01
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by TiKu »

Ah, you are right, sorry. I've been fixing the ToolBarControls library on saturday, so I got confused when uploading the file.
Unfortunately I'm currently at work and therefore cannot upload the correct file. I'm afraid you have to wait 9 hours until I'm at home. Sorry.

Regards
TiKu
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
enterprise01
Cadet
Posts: 7
Joined: 27 Oct 2014, 09:58

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by enterprise01 »

No problem, I have also my experiences in uploading wrong files :roll:
Thank you anyway and I will try it tomorrow.

greetings,

enterprise01
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by TiKu »

Thanks for your patience. Here's the correct file.

Regards
TiKu
Attachments
editctls192186-rel.zip
(1.83 MiB) Downloaded 462 times
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
enterprise01
Cadet
Posts: 7
Joined: 27 Oct 2014, 09:58

Re: text becomes invisible [multiline-TextBox, readonly, win

Post by enterprise01 »

Hi TiKu,

It's working! :D
Everything is fine now, thank you very much!

greetings,

enterprise01
Post Reply