Hi all,
anybody know how can I change the row color in a tcbrowse when it lost the focus
I would like to change the dark gray into light gray nRgb(229,229,229)
Thanks in advance.
tcbrowse row color
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
tcbrowse row color
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: tcbrowse row color
Did you try using bLostFocus codeblock?
EMG
EMG
-
- Posts: 77
- Joined: Sun Aug 26, 2007 11:53 pm
Re: tcbrowse row color
From TCB DrawSelect
I have modified Luis's TCB over the years and can choose colour - or no colour among many other things.
If interested get in touch.
Jonathan at toolhouse dot co dot nz.
- TCDrawCell( hWnd, hDC, ;
nRowPos, nStartCol, If( nJ < nLastCol, aColSizes[ nJ ], -1), ;
if( cPicture == nil, ;
If( lBitMap, If( ! Empty( ::aBitmaps ),;
::aBitmaps[ uData ], uData ), ;
cValToChar( Eval( oColumn:bData ) ) ), ;
Transform( uData, cPicture ) ), ;
oColumn:nAlign, ;
nClrFore, ;
If( lFocused .or. lNoLite,;
nClrBack,;
If( ::lCellStyle, If( nJ == ::nColAct, CLR_GRAY, nClrBack ), CLR_GRAY ) ),;
hFont, ;
If(lBitMap, If(lNoLite, 1, 2), 0),, ::nLineStyle )
I have modified Luis's TCB over the years and can choose colour - or no colour among many other things.
If interested get in touch.
Jonathan at toolhouse dot co dot nz.
Re: tcbrowse row color
Hi,
What should I do same subject using in TXBrowse? Not focused color change to CLR_LIGHTGRAY.
Thanks
What should I do same subject using in TXBrowse? Not focused color change to CLR_LIGHTGRAY.
Thanks
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
Re: tcbrowse row color
Ok. Solved.
Thanks to all for the support.
Thanks to all for the support.
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: tcbrowse row color
Your question is answered in this postHorizon wrote:Hi,
What should I do same subject using in TXBrowse? Not focused color change to CLR_LIGHTGRAY.
Thanks
http://forums.fivetechsupport.com/viewt ... =3&t=16471
May be you have already seen that post
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: tcbrowse row color
Your question is answered in this postnageswaragunupudi wrote:Horizon wrote:Hi,
What should I do same subject using in TXBrowse? Not focused color change to CLR_LIGHTGRAY.
Thanks
http://forums.fivetechsupport.com/viewt ... =3&t=16471
May be you have already seen that post[/quote
Thanks, It works.
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12