Different colors of rows in LISTBOX

Different colors of rows in LISTBOX

Postby kadziola » Wed Nov 03, 2010 7:27 am

Hi All ,

Is this possible in FWPPC ?

Code: Select all  Expand view
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
kadziola
 
Posts: 26
Joined: Tue May 11, 2010 7:26 am

Re: Different colors of rows in LISTBOX

Postby Antonio Linares » Sat Nov 06, 2010 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Different colors of rows in LISTBOX

Postby kadziola » Sat Nov 06, 2010 4:47 pm

Hi Antonio !

Code: Select all  Expand view
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
kadziola
 
Posts: 26
Joined: Tue May 11, 2010 7:26 am


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 6 guests