Page 1 of 1

XBROWSE: Color of the record selector triangle

Posted: Wed Jul 29, 2020 8:20 am
by byte-one
How can i change the color of the triangle?

Re: XBROWSE: Color of the record selector triangle

Posted: Wed Jul 29, 2020 11:54 am
by ukoenig
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

Re: XBROWSE: Color of the record selector triangle

Posted: Wed Jul 29, 2020 12:21 pm
by byte-one
Danke Uwe!