Page 1 of 1

How to resize existing / painted Metro-buttons ?

PostPosted: Thu May 03, 2012 11:38 pm
by ukoenig
Hello,

I wanted to resize the painted / existing Buttons, but doesn*t work.
It seems, they are not repainted. All other changes are working fine.
I can change the Title-text / Color and the background of the existing Panel.

STATIC FUNCTION VIEW_PANEL()
// shows the painted Panel
oMWnd:Show()
// new Background
W_BACKGRD( oMetro, nMStyle, lMDirect, nMColorF, nMColorB, nMGradPos, cMBrush, cMImage )
// new Textcolor
oMetro:nClrtext := nPTColor
// new Titletext
oMetro:cTitle := ALLTRIM(cPText)
// new Buttonsize
oMetro:nBtnSize := nPButton
RETURN ( NIL )

Image

Best Regards
Uwe :?: