FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBROWSE: Color of the record selector triangle
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
XBROWSE: Color of the record selector triangle
Posted: Wed Jul 29, 2020 08:20 AM

How can i change the color of the triangle?

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: XBROWSE: Color of the record selector triangle
Posted: Wed Jul 29, 2020 11:54 AM
Günther,

How can i change the color of the triangle?


just use Your own selector-image

//New Method SetRecSelBmp( uNew ) // Changing or omitting bitmap
//If uNew is 0, no bitmap is displayed on record selector
//If uNew is NIL, standard FWRArrow() bitmap is displayed
//If uNew is imagefile or resource,etc this image is displayed on record
//selector in the place of the standard right arrow.
//Advised to specify bitmap with size 16x16 or less.

oBrw1:bClrSelFocus := { || { 0, 14540287 } }
oBrw1:bClrSel := { || { 0, 15132365 } }
oBrw1:nRecSelColor := 15512898
oBrw1:nRecSelWidth := 50
oBrw1:SetRecSelBmp( c_path1 + "Arrow.bmp" ) // red arrow as record-selector



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: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: XBROWSE: Color of the record selector triangle
Posted: Wed Jul 29, 2020 12:21 PM

Danke Uwe!

Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion