Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Names, Case Sensitive?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00391501
Message ID:
00391518
Vues:
10
>Are there rules for case sensitivity for objects?
>
>I've run into weird bugs especially when attempting to activate one form object from another form object such that
>
>frmCashDetail.cmdNew.setfocus()
>FRMCASHDETAIL.cmdNew.setfocus()
>frmcashdetail.cmdNew.setfocus()
>
>are all different. The only way I can figure out what the correct name is to look in the debugger to find out what _Screen.ActiveForm.Name is.
>
>This makes me nervous...especially because only the first part of the object name, (the form name) seems to exibit the problem, the buttons and text box names seem not to care if they are uppoer or lower case.
>
>Advice appreciated.
>
>--- Larry

If you make the name smaller (<=10 letters) does it make a difference? I had these weird problems while ago with VFP5.0 as I recall...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform