Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ResetToDefault
Message
De
23/11/1996 06:31:19
 
 
À
22/11/1996 19:04:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00013208
Message ID:
00013228
Vues:
33
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform