FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Different colors of rows in LISTBOX
Posts: 26
Joined: Tue May 11, 2010 07:26 AM
Different colors of rows in LISTBOX
Posted: Wed Nov 03, 2010 07:27 AM
Hi All ,

Is this possible in FWPPC ?

Code (fw): Select all Collapse
oBrw:bClrStd := { || If( oBrw:lActive, { CLR_BLACK, CLR_WHITE }, { CLR_WHITE, CLR_HGRAY } ) }


When i try apply this command i get error :

Message not found
TWBROWSE:_BCLRSTD
Args:
[ 1] = O TWBROWSE
stack calls:
__ERRRT_SBASE(0)
TWBROWSE:ERROR(0)
(b)HBOBJECT(0)
TWBROWSE:MSGNOTFOUND(0)
TWBROWSE:_BCLRSTD(0)
KROK_2(1070)
(b)KROK_1(1003)
TCONTROL:LBUTTONDOWN(0)
TWBROWSE:LBUTTONDOWN(0)
TWINDOW:HANDLEEVENT(0)
TCONTROL:HANDLEEVENT(0)
TWBROWSE:HANDLEEVENT(0)
_FWPPC(0)
WINRUN(0)
TWINDOW:ACTIVATE(0)
PIERWSZE_OKNO(212)
MAIN(133)




Regards
Jaroslaw Kadziola
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Different colors of rows in LISTBOX
Posted: Sat Nov 06, 2010 09:08 AM

Jaroslaw,

Try it this way:

oBrw:nClrPane := { || If( oBrw:lActive, CLR_WHITE, CLR_HGRAY ) }
oBrw:nClrText := { || If( oBrw:lActive, CLR_BLACK, CLR_WHITE ) }

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 26
Joined: Tue May 11, 2010 07:26 AM
Re: Different colors of rows in LISTBOX
Posted: Sat Nov 06, 2010 04:47 PM
Hi Antonio !

Code (fw): Select all Collapse
oBrw:nClrPane := { || If( oBrw:lActive, CLR_WHITE, CLR_HGRAY ) }
oBrw:nClrText := { || If( oBrw:lActive, CLR_BLACK, CLR_WHITE ) }


This is It ! Thanks a lot !

Best Regards
Jaroslaw Kadziola

Continue the discussion