Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: VFP9 CommandButton Caption
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Bug: VFP9 CommandButton Caption
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01005723
Message ID:
01005723
Views:
76
o=Createobject('Form1')
o.Show(1)
Define Class form1 As Form
	Add Object command1 As CommandButton With ;
		Top=84,Left=156,Height=27,Width=75, Caption="Command"
	Add Object command2 As CommandButton With ;
		Top=113,Left=156,Height=27,Width=75,Caption="\<Command"
EndDefine
Run the code in VFP9. You will see the button caption with hotkey is not centered. The width of "\<" seems to be taken into account in position calculation.

Ben
Next
Reply
Map
View

Click here to load this message in the networking platform