Possibl., a color for < hBrushRecSel > in xBrowse ?

Possibl., a color for < hBrushRecSel > in xBrowse ?

Postby ukoenig » Sat Aug 30, 2008 9:04 am

Hello,

i wanted to change the Background of the aktive record
of the Record-selector < hBrushRecSel >,
but it uses the basic-color of < nRecSelColor >
In the xBrowse-class, i changed as a test < hBrushRecSel > to 128 ( Red )
After that, the complete record-selector-column was red.
But < nRecSelColor > is the color of record-selector-column.
It seems it is the same.

::hBrushRecSel := CreateSolidBrush( ::nRecSelColor )

Sample :
Image

Image

Is it possible to change the color with < hBrushRecSel > ?

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby nageswaragunupudi » Sat Aug 30, 2008 1:50 pm

We can set recsel color initially, by assigning the desired color to oBrw:nRecSelColor.

But we can not change it during runtime, unless the xbrowse.prg is changed suitably.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

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