FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Possibl., a color for < hBrushRecSel > in xBrowse ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Possibl., a color for < hBrushRecSel > in xBrowse ?
Posted: Sat Aug 30, 2008 09: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 :




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

Regards
Uwe :-)
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.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Possibl., a color for &lt; hBrushRecSel &gt; in xBrowse ?
Posted: Sat Aug 30, 2008 01: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

Continue the discussion