There are still some little problems in the new
xbrowse-tools, i couldn't fix.
It is possible now, to have a real big preview with a database
of all used settings.
Because i can change the color of the RECORD-SELECTOR,
i have to add a new BITMAP for the pointer as well.
I couldn't find out, what format and colors for the bitmap i have to use.
I tested everything, Bitmaps are not shown transparent.
It is the same NON-transparent effect like Cellbitmaps on Brushes.
In this sample, the best result would be a white Arrow.
The xBrowse-class uses :
::hBmpRecSel := FwRArrow()
I think, FwRArrow() does the handling of the background.
I couldn't find the function ( is not included in the source ).
- Code: Select all Expand view
// BRSELECT2 = Bitmap
// SELCOLOR2 = Color of Rec-Selector
IF !EMPTY( BRSELECT2 )
oBmp := ReadBitmap( 0, BRSELECT2 )
oBrw:hBmpRecSel( oBmp )
ENDIF
DEFINE BRUSH oBrush COLOR SELCOLOR2
oBrw:hBrushRecSel( oBrush )
RELEASE BRUSH oBrush
A Bitmap size : 9 x 15
How can i get a transparent symbol ?
It is not the same, like the bitmaps in cells.
Regards
Uwe