Page 1 of 1

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

Posted: 27 Oct 2014, 10:30
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

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

Posted: 27 Oct 2014, 11:39
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

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

Posted: 27 Oct 2014, 12:11
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

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

Posted: 27 Oct 2014, 19:33
by TiKu
I can reproduce it now. However, it might take a while to fix it.

Regards
TiKu

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

Posted: 28 Oct 2014, 08:29
by enterprise01
Good that you can reproduce it.
So, best wishes for success in finding a solution.

greetings,

enterprise01

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

Posted: 01 Nov 2014, 22:28
by TiKu
Hi,

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

Regards
TiKu

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

Posted: 01 Nov 2014, 23:34
by enterprise01
Hi TiKu,

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

greetings,

enterprise01

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

Posted: 03 Nov 2014, 10:13
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

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

Posted: 03 Nov 2014, 10:18
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

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

Posted: 03 Nov 2014, 10:23
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

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

Posted: 03 Nov 2014, 21:02
by TiKu
Thanks for your patience. Here's the correct file.

Regards
TiKu

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

Posted: 04 Nov 2014, 08:35
by enterprise01
Hi TiKu,

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

greetings,

enterprise01