How to resize existing / painted Metro-buttons ?

How to resize existing / painted Metro-buttons ?

Postby ukoenig » Thu May 03, 2012 11:38 pm

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 :?:
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: No registered users and 49 guests