XBROWSE: Color of the record selector triangle

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

XBROWSE: Color of the record selector triangle

Post by byte-one »

How can i change the color of the triangle?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: XBROWSE: Color of the record selector triangle

Post 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
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
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: XBROWSE: Color of the record selector triangle

Post by byte-one »

Danke Uwe!
Regards,
Günther
---------------------------------
office@byte-one.com
Post Reply