How to resize existing / painted Metro-buttons ?
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
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](http://www.pflegeplus.com/pictures/mpaint8.jpg)
Best Regards
Uwe![Question :?:](./images/smilies/icon_question.gif)
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](http://www.pflegeplus.com/pictures/mpaint8.jpg)
Best Regards
Uwe
![Question :?:](./images/smilies/icon_question.gif)