TGet():nClrFocus no me cambia el color

TGet():nClrFocus no me cambia el color

Postby goosfancito » Wed Mar 24, 2021 8:39 pm

Buenas buenas gente!

Intente con nRGB y RGB y no me cambia el color del foco. que hago mal?

Code: Select all  Expand view  RUN
  TGet():nClrFocus      := nRGB( 40, 255, 255)
 


Gracias!
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: TGet():nClrFocus no me cambia el color

Postby Marc Venken » Wed Mar 24, 2021 10:47 pm

For global setting it is

setgetcolorfocus(rgb(209,224,252))

so maybe the nRgb should be rgb(40,255,255)
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1456
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: TGet():nClrFocus no me cambia el color

Postby goosfancito » Wed Mar 24, 2021 10:53 pm

thank´s
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: TGet():nClrFocus no me cambia el color

Postby Marc Venken » Wed Mar 24, 2021 10:55 pm

TGet():bColorBlock := { |oGet| IF( oGet:lFocused, { CLR_WHITE, CLR_HBLUE }, IF( .NOT. oGet:lActive, {CLR_BLACK, CLR_HGRAY}, {CLR_BLACK, CLR_WHITE} )) }
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1456
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

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