Good afternoon.
How to set the xBrowse cell / line color when it is out of focus?
Thanks
xBrowse color (Solved)
xBrowse color (Solved)
Last edited by ctoas on Thu Jan 14, 2021 5:47 pm, edited 1 time in total.
Christiano Augusto Silveira
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
- FranciscoA
- Posts: 1964
- Joined: Fri Jul 18, 2008 1:24 am
- Location: Chinandega, Nicaragua, C.A.
Re: xBrowse color
bClrSel,; // default color pair for selected row
bClrSelFocus,; // default color pair for selected row when control has focus
bClrSelFocus,; // default color pair for selected row when control has focus
Francisco J. Alegría P.
Chinandega, Nicaragua.
Fwxh1204-MySql-TMySql
Chinandega, Nicaragua.
Fwxh1204-MySql-TMySql
- FranciscoA
- Posts: 1964
- Joined: Fri Jul 18, 2008 1:24 am
- Location: Chinandega, Nicaragua, C.A.
Re: xBrowse color
Code: Select all
local aGradBarSel:= { { 1, RGB(252,252,195) , RGB(248,195, 134) } }
local aGradRowSel:= {{1, RGB(108,125, 184), RGB(241,222,088)}}
WITH OBJECT oBrw
:bClrSel := {|| { nRGB( 0, 0, 0), aGradRowSel } } // para barra de linea selecc cuando el control no tiene el foco
:bClrSelFocus := { || { CLR_BLACK, aGradBarSel } } // para barra de linea selecc cuando el control tiene el foco
END
Francisco J. Alegría P.
Chinandega, Nicaragua.
Fwxh1204-MySql-TMySql
Chinandega, Nicaragua.
Fwxh1204-MySql-TMySql
Re: xBrowse color
Hello Francisco.
Mine is already like this, the question I want to solve is when it loses focus.
See the images.
with focus
without focus
Mine is already like this, the question I want to solve is when it loses focus.
See the images.
with focus
without focus
Christiano Augusto Silveira
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
Re: xBrowse color
Hello Christiano,
I like your design.
Best regards,
Otto
I like your design.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: xBrowse color
Thanks Otto
See the full image for viewing
See the full image for viewing
Christiano Augusto Silveira
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: xBrowse color
I am not sure what exactly you are looking for.
Is this what you want?
Is this what you want?
Code: Select all
oBrw:bClrStd := { || { CLR_BLACK, If( GetFocus() == oBrw:hWnd, CLR_WHITE, CLR_HGRAY ) } }
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: xBrowse color
Nages, the idea is this, but it would be in the color of the cell. He had already tried it, but without success.
Thanks
Thanks
Christiano Augusto Silveira
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
Re: xBrowse color
Question resolved!
The answer was in my face and I didn't see ...
Thank you all!
The answer was in my face and I didn't see ...
Thank you all!
Code: Select all
oBrw:bClrSel := {||{nRGB(255,255,255), nRGB(060,072,251)}}
Christiano Augusto Silveira
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br
christiano.silveira@gmail.com
MaxxTech Soluções em TI
http://www.maxxtech.com.br