Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set value to be empty independent on type('this.value')
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00300386
Message ID:
00300406
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>Hi everyone,
>
>I'm creating SetDefault method for our valrange class. This method should set empty value, e.g. '' for character string, {} for date, etc. I'm wondering is there a way to set it by one command, or I need to check type('this.value') for each cases?

Hi Nadya,

If the value property was already set to certain type you could use ResetToDefault() method.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform