[lazarus] More stuff added to CVS

Jeffrey A. Wormsley daworm at cc.net
Sun Aug 1 21:15:49 EDT 1999


On 7/31/99, at 2:35 AM, Michael A. Hess wrote: 

>TColorDialog is finished and working. You can see it working in the
>comDialogs example. If you select a color it changes the background
>color of the demo window. The only problem is that the refresh routines
>for the window aren't fired when you change the color. So to see the new
>color after you select it in the ColorDialog and close the ColorDialog
>just slightly resize the demo window. You will then see the new
>background color.

The TColorDialog looks great, but is there any way to use it to pick a
"standard" color (clRed, clTeal, etc.)?  Sort of like the grid in Delphi?
Also, it has some problems in Win32.  First, clicking OK or Cancel doesn't
do anything..  You have to close the dialog with the x.  Second, after
close, as you noted, you must resize.  But, after resize, it changes to the
wrong color, and if you change the color with the dialog again, the area of
the original form size goes back to the color it was created with (some
dark green for me).

Jeff.






More information about the Lazarus mailing list