Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
News from VB7. I'm in shock.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00332397
Message ID:
00333634
Views:
16
> You know what would really be nice? A way of doing something similiar in VFP. Maybe something like: Form..Object.Property where the ".." tells VFP to figure it out for itself. It would help do away with the problems of indirect referencing - you could move them anywhere in the form and the code wouldn't break.

Actually, CB6 has a method of doing this. Each control has a property 'registryname' (which has nothing to do with the registry). When the object has a registry name at startup it registers itself with the form.

To reference it you do something like...

ThisForm.Registry('TheNameYouGaveIt').Value = 'ABC'

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform