Hello Pete,
I use 9.05 as well.
With my new buttontools, I can test all possible combinations :
from Source, Resource, 2007 Style, Transparent, Border and no Border.
BMP on left, top, bottom, right and centered.
On different backgrounds : colors, gradient, brushes and images.
A center problem, I didn't notice.
Try a
empty Prompt.
- Code: Select all Expand view
@ 47, 73 BTNBMP oBtn5 OF oDlg1 ;
SIZE D_BUTTONH, D_BUTTONV ;
FILENAME c_path + "\project\" + D_BUTTON2 ;
ACTION MsgAlert( "Button-Click", "Button 5" ) ;
PROMPT "" ;
FONT oButtFont ;
CENTER
oBtn5:lTransparent = .t.
oBtn5:cTooltip := "Button5"
oBtn5:SetColor( 9208556, )
Best Resgards
Uwe