OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: stephan_35 on July 17, 2009, 12:45:26 AM

Title: Flashing on optionbutton and checkbox.
Post by: stephan_35 on July 17, 2009, 12:45:26 AM
Hello

Flashing on optionbutton and  checkbox.

On the small test that follows, you can see flashes when moving the mouse over them.

It seems that's the mouseout event which is not used in this test.(and can't be use !)

Code (autolisp) Select

(load "D:test2.lsp")
test


Not very serious but aesthetically disturbing.  :P

Thanks

Best regards
Title: Re: Flashing on optionbutton and checkbox.
Post by: Fred Tomke on July 17, 2009, 07:45:15 AM
Hello, I didn't had any test with your sample. I suggest not to use transparant controls. If I set backcolor -16 to all the controls the flashing in my forms were over.

Fred
Title: Re: Flashing on optionbutton and checkbox.
Post by: owenwengerd on July 17, 2009, 08:56:50 AM
The flashing is due to an extra repaint that I added in the past to fix another problem (where the text got fuzzy). I've taken the extra repaint out for the next build; please test it and let me know whether this is an improvement. In Vista I don't see the fuzzy text in your sample, but the problem may occur only on Windows XP.
Title: Re: Flashing on optionbutton and checkbox.
Post by: stephan_35 on July 17, 2009, 12:37:05 PM
Quote from: Fred Tomke on July 17, 2009, 07:45:15 AM
Hello, I didn't had any test with your sample. I suggest not to use transparant controls. If I set backcolor -16 to all the controls the flashing in my forms were over.

Fred

Thanks Fred !

This seems work with OptionButton and CheckBox wich use "Visual Style" !!!

If you set -16 backcolor for these don't use "Visual Style" , it steel flashing !

Best regards.