Error of graphic with folder

Error of graphic with folder

Postby Silvio » Sat Mar 13, 2010 8:30 pm

look it please
Image


I insert only a function of Uwe to make the folder transparent on a dialog

...
FUNCTION FoldBack( oFld, oImage1, oImage2 )

oFld:aDialogs[ 1 ]:bPainted = { | hDC | GradientFill( hDC, 0, 0, oFld:aDialogs[ 1 ]:nHeight, ;
oFld:aDialogs[ 1 ]:nWidth, { { 0.50, 14853684, 16314573 }, ;
{ 0.50, 16314573, 14853684 } }, .T. ) }

*oFld:aDialogs[ 2 ]:bPainted = { | hDC | oFld:aDialogs[ 2 ]:SetBrush( oBrush1 ) }

oFld:aDialogs[ 2 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 2 ]:nWidth, oFld:aDialogs[ 2 ]:nHeight, , .T. ) }

oFld:aDialogs[ 3 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage2:hBitmap, , ;
oFld:aDialogs[ 3 ]:nWidth, oFld:aDialogs[ 3 ]:nHeight, , .T. ) }

oFld:aDialogs[ 4 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 4 ]:nWidth, oFld:aDialogs[ 4 ]:nHeight, , .T. ) }

oFld:aDialogs[ 5 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 5 ]:nWidth, oFld:aDialogs[ 5 ]:nHeight, , .T. ) }

oFld:aDialogs[ 6 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 6 ]:nWidth, oFld:aDialogs[ 6 ]:nHeight, , .T. ) }

RETURN NIL



why it make another folder near to last folder ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Error of graphic with folder

Postby ukoenig » Sat Mar 13, 2010 9:13 pm

Hello Silvio,

The Folder-Tabs are clean painted like You can see inside the following :
viewtopic.php?f=3&t=18319

there is still a lot to do, to fix everything.
The backgrounds, I loaded inside a For / Next ( changed )
I can put the Display-Stucture inside this toppic.

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

Re: Error of graphic with folder

Postby Silvio » Sat Mar 13, 2010 9:19 pm

i NOT UNDERSTAND HOW CORRECT IT
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 93 guests