Page 1 of 1

Brush in dialog problem continues

Posted: Sun Feb 12, 2006 10:05 pm
by TimStone
OK ... When using the Brush in Dialog option its nice, except the folders do not show the brush.

Going further, if I use this option, then BMPGET will show a black field with the bitmap, and if I use the bitmap as a button to select a value for the field ( ie. a data lookup option ), then the value cannot be seen because the black bar is still there.

Tim :(

Posted: Sun Feb 12, 2006 11:56 pm
by Antonio Linares
Tim,

Please try samples\TestFldb.prg for a working sample of folders with background bitmapped brushes.

For non standard FWH controls, like the BTNGET you mention, please add its class name in dialog.prg, here:

if ::lTransparent
FixSays( ::hWnd )
AEval( ::aControls,;
{ | o | If( ! Upper( o:ClassName() ) $ ;
"TGET;TMULTIGET;TBTNBMP;TCOMBOBOX;TWBROWSE;TCBROWSE;TXBROWSE;TLISTBOX",;
o:lTransparent := .t.,) } )
endif

Those are the classes names where we don't want transparency.

Get fixed

Posted: Mon Feb 13, 2006 3:32 pm
by TimStone
OK ... that fixed the GET issue ...

Still no bitmap background on the folders ( see other thread ).

Tim