View Full Version : Vista test: richedit background color
ErosOlmi
31-08-2008, 23:28
I all.
I've been reported from catventure about a problem in setting background color in richedit control only under Vista.
I've tested under Vista in two computers but I'm not able to replicate the problem. I have to say that I need to update the richedit control I have in my Vista PCs and see if it makes any different.
Anyhow, if you have some spare time to test, use script \thinBasic\SampleScripts\UI\RichEdit\RichEdit_002.tBasic and from Menu "Control/Background color" try to set a new background color.
Thanks a lot
Eros
It works fine on my computer. :)
ErosOlmi
02-09-2008, 09:38
Thanks a lot matthew.
It is a very stange situation because I've already tested on many PC running Vista but not able to replicate the problem.
Still testing/searching ...
ErosOlmi
03-09-2008, 11:03
Petr gave me some indications about strange RichEdit control behaves that maybe are ralated to this problem.
I'm investigating ...
catventure
04-09-2008, 08:50
Hi Eros,
It may be worth mentioning that the problem occurs on mine only under latest preview 1.7.0.0.
It still works fine under current stable version 1.6.0.10
So...?
Best regards,
catventure.
ErosOlmi
04-09-2008, 09:52
I know catventure.
The problem is that in the meanwhile I have changed compiler.
UI module in thinBasic 1.7.0.0 is compiled with Power Basic 9.00
UI module in thinBasic 1.6.0.10 is compiled with Power Basic 8.04
So I'm trying to understand if I'm making something wrong or the new compiler has introduced something I didn't expect. I'm studying Microsoft documentation checking which is the supposed behave.
I'm sorry, this require time. But be sure I will solve this problem before I will release new thinBasic. There are other problems introduced with this version in richedit control occurring not only under Vista but also under XP.
Ciao
Eros
catventure
04-09-2008, 10:08
Hi Eros,
I see. Thanks for update explanation - I'd forgotten about that. I hope you can fathom the reason for different behaviour and hopefully it can be rectified over time...
Btw, new GRAB$ command working good :)
catventure.
catventure
04-09-2008, 22:16
Hi Eros,
I only just noticed this now but in SampleScripts\UI\RichEdit\Richedit_001.tbasic the backcolor for text is working OK.
Don't know if this helps with problem in second example.
See attached.
Regards,
catventure
ErosOlmi
04-09-2008, 22:53
Catventure,
I think the problem with the background is just a side effect of something else.
I'm checking some notification messages that are fired to the richedit when the window where it reside is in foreground or in background.
Anyhow, thanks a lot for your continuous reporting about behaves you find. Can greatly help me in my discovery.
Hope to give you soon a 100% working version
Ciao
Eros