XBROWSE: Color of the record selector triangle

XBROWSE: Color of the record selector triangle

Postby byte-one » Wed Jul 29, 2020 8:20 am

How can i change the color of the triangle?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: XBROWSE: Color of the record selector triangle

Postby ukoenig » 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

Image

regards
Uwe :D
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

Re: XBROWSE: Color of the record selector triangle

Postby byte-one » Wed Jul 29, 2020 12:21 pm

Danke Uwe!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 16 guests