FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Possible changes in METRO ( Design ) ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Possible changes in METRO ( Design ) ?
Posted: Tue May 01, 2012 08: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 :



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





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.

Continue the discussion