Page 1 of 1

How to set COLOR of GET with WHEN .F.

Posted: Sat Sep 22, 2007 6:07 pm
by dutch
Dear All,

I would like to set the color of GET with WHEN .F. clause. Because when I set WHEN .F. the color will be gray (Text) with white (Background).

How can I change it? The COLOR clause is not effect.

Best regards,
Dutch

Posted: Sat Sep 22, 2007 6:17 pm
by Antonio Linares
Dutch,

If you do:
oGet:lDisColors = .F.

then you can set your own colors instead of the default ones for disabled gets

Posted: Tue Sep 25, 2007 12:22 pm
by ronaldo
Para todos os controles de GET.

aEval( oDlg:aControls, {|o| If(o:ClassName() == "TGET", o:lDisColors:=.F., NIL) } )