Brush in dialog problem continues

Brush in dialog problem continues

Postby TimStone » Sun Feb 12, 2006 10:05 pm

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 :(
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Sun Feb 12, 2006 11:56 pm

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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Get fixed

Postby TimStone » Mon Feb 13, 2006 3:32 pm

OK ... that fixed the GET issue ...

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

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests