[lazarus] More stuff added to CVS

Shane Miller SMiller1 at stvgb.org
Mon Aug 2 09:32:40 EDT 1999


Simply setting the form's COLOR property doesn't yet cause it to change right away.  I will fix that.

Shane


>>> "Jeffrey A. Wormsley" <daworm at cc.net> 08/01 8:15 PM >>>
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.

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list