Hello,
I noticed, using :
REDEFINE BUTTONBMP oBtn1 ID 110 OF oFld:aDialogs[1] ;
ACTION MsgAlert("Test" ) ;
BITMAP aPICTURES[1][3] PROMPT aBTNTEXT[1][1] TEXTRIGHT
oBtn1:cToolTip = { "TButtonBMP","Test", 1, CLR_BLACK, 14089979 }
oBtn1:oFont := oTextFont
the Button-Text is not adjusted in Relation to the included BMP, always centered.
As long the Buttontext is short in Relation to the Buttonwidth, there is no Problem.
To make it working, I have to add some left Spaces.
I think using < TEXTRIGHT >, the left Start-Text-Position must be calculated with the BMP:nWidth() + some Space.
( always centered )

Best Regards
uwe
I noticed, using :
REDEFINE BUTTONBMP oBtn1 ID 110 OF oFld:aDialogs[1] ;
ACTION MsgAlert("Test" ) ;
BITMAP aPICTURES[1][3] PROMPT aBTNTEXT[1][1] TEXTRIGHT
oBtn1:cToolTip = { "TButtonBMP","Test", 1, CLR_BLACK, 14089979 }
oBtn1:oFont := oTextFont
the Button-Text is not adjusted in Relation to the included BMP, always centered.
As long the Buttontext is short in Relation to the Buttonwidth, there is no Problem.
To make it working, I have to add some left Spaces.
I think using < TEXTRIGHT >, the left Start-Text-Position must be calculated with the BMP:nWidth() + some Space.
( always centered )

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.
i work with FW.
If you have any questions about special functions, maybe i can help.