Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 - Instantiate Object Multiple Times?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00256420
Message ID:
00256533
Views:
30
>Open the form in the form designer and on the menu click Form->New property. In the dialog box give the property a name like oRegistry. If you click the other tag on the property sheet and scroll down to the bottom it should show the new property.
>
>Now in the init of the form add your could to create the object:
>this.oRegistry = NewObject( "Registry", "Registry.VCX" )
>This will store a reference to the registry object in the property. Now you can access that object with
>ThisForm.oRegistry.IsKey()
hth

Thanks! This is amazing, I know all kinds of stuff but I know nothing at the same time. :)
Previous
Reply
Map
View

Click here to load this message in the networking platform