Wrong transp. Backgrd. with SET BRUSH ?

Wrong transp. Backgrd. with SET BRUSH ?

Postby ukoenig » Sun Mar 14, 2010 11:17 am

Testing Dialog-Brushes like :
SET BRUSH OF oDlg TO oBrush1
I noticed, using a BMP 30 x 30 with a black Border to paint a Grid,
a wrong painting of the transparent Background.
Using a normal Bitmap like : stone, marble, brick .... You cannot see it.
Is there something wrong with SET BRUSH ....
( maybe because of the special paintings using a NIL - Brush for the Dialog ) ?

The Result of => SET BRUSH OF oDlg TO oBrush1

Image

I added a Grid to < FWH\samples\Testfldb.prg >
there it was OK.

Image

I created some extra new Functions as a Replacement ( all transparent-displays are OK now )
D_TILED( oDlg, cBitmap ) shows the Difference
Only the Groupline behind the Text and the Textcolor of Radios, Checkboxes
and Group-Color-Line I couldn't solve.
Image

Tiled with JPG
Image

Inside Folder-Page ( Tiled without using a Brush )
You can adjust the Tile-Effect.
Image

Image

Image

The used Image adjusted to Folder-Size
Image

Best Regards
Uwe :lol:
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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests