Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ResetToDefault
Message
From
23/11/1996 06:31:19
 
 
To
22/11/1996 19:04:51
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00013208
Message ID:
00013228
Views:
29
>>When I access my DE and click on the property for a cursor I can see than I have the ResetToDefault() method.
>>
>>But, when I try to do this from my Load() event, I can an error saying "Property does not have a default value".
>>
>>ThisForm.DataEnvironment.Cursor1.ResetToDefault('Database')
>
>It seems that ResetToDefault() only works when the object is based on a class. So, why is there a ResetToDefault() in the DE for each cursor?

because the DE is a class as well so if you created a subclass of a DE
or rather of a Cursor class you can use the resettodefault or the dodefault()
like any other class


Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform