Possible changes in METRO ( Design ) ?

Post Reply
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Possible changes in METRO ( Design ) ?

Post by ukoenig »

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.
Post Reply