Hello,
is it possible to show METROBUTTONS disabled like BtnBmp ?
I can disable a metrobutton, but the color is still the same.
As a solution I changed the buttoncolor like
DEFINE METROBUTTON oSBtn[71] OF oMenu2 ;
COLOR aVal[76], aVal[75] ;
FONT oTileFont ;
CAPTION "Benutzer" ;
ALIGN "TOPLEFT" ;
GROUP 1 ;
BITMAP c_Pfad1 + "Login.bmp" ;
BMPALIGN "MIDDLECENTER" ;
SIZE 50, 50 ;
BODYTEXT "Passwort" ;
TEXTALIGN "BOTTOMCENTER" ;
TEXTFONT oTileFont ;
ACTION LOGIN1()
oSBtn[71]:nClrCaption := aVal[77]
oSBtn[71]:bMMoved = { | nRow, nCol, nFlags | SHOW_FRAME( oSBtn, 71, nOld ), nOld := 71 }
IF aVal[131] = .F.
oSBtn[71]:Disable()
oSBtn[71]:SetColor(12632256, 12632256)
ENDIF
regards
Uwe