How to set COLOR of GET with WHEN .F.

Post Reply
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

How to set COLOR of GET with WHEN .F.

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
ronaldo
Posts: 137
Joined: Fri Nov 25, 2005 4:38 pm
Location: brasil
Contact:

Post by ronaldo »

Para todos os controles de GET.

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