Possible changes in METRO ( Design ) ?

Possible changes in METRO ( Design ) ?

Postby ukoenig » Tue May 01, 2012 8:29 am

Hello,

is it possible to make these changes ?
Because of unexpected results, I cannot see a reason, to define the Image width and height,
Some BMP's are not equal in width and height.

TMetroBtn():New( nX, nY, lLarge, Self, cCaption, cImgName, bAction, nAlign, ;
nBmpAlign, nBmpWidth, nBmpHeight, oFont, cText, nTextAlign, oTextFont, oSubMetro, ;
nGroup, cBackImage, cAction, cSub )

TMetroBtn():New( nX, nY, lLarge, Self, cCaption, cImgName, bAction, nAlign, ;
nBmpAlign, nRatio, oFont, cText, nTextAlign, oTextFont, oSubMetro, ;
nGroup, cBackImage, cAction, cSub )

where nRatio = 1 means original size

Selected with a fixed width and height = 50 :

Image

Practicable to select a Image with a defined Zoom-factor ( keep ratio ) ??? :

Image

Image

Best Regards
Uwe :?:
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: Otto and 92 guests