How to set COLOR of GET with WHEN .F.

How to set COLOR of GET with WHEN .F.

Postby dutch » Sat Sep 22, 2007 6:07 pm

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
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Sat Sep 22, 2007 6:17 pm

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

Postby ronaldo » Tue Sep 25, 2007 12:22 pm

Para todos os controles de GET.

aEval( oDlg:aControls, {|o| If(o:ClassName() == "TGET", o:lDisColors:=.F., NIL) } )
User avatar
ronaldo
 
Posts: 139
Joined: Fri Nov 25, 2005 4:38 pm
Location: brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 82 guests