Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: VFP9 CommandButton Caption
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Bug: VFP9 CommandButton Caption
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01005723
Message ID:
01005723
Vues:
77
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform