Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: VFP9 CommandButton Caption
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01005723
Message ID:
01005729
Views:
19
>
>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,

I don't see this. I run your code and both captions are centered the same.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform