Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Names, Case Sensitive?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00391501
Message ID:
00391518
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform