Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Specific Property Exists or not?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00816274
Message ID:
00817134
Vues:
24
>Thanks for the code. I could get the work done with this. Another thing I learned with your code was, calling the function recursively. I wasn't knowing this.
>Although my current problem is solved, is there any way to check for the existance of a specific property for any control? Can it be checked dynamically like - for any control if property xyz exists, change the value to abc?
>


You can use the TYPE() function for any property on any control. TYPE() is advantageous when you are not sure whether a property or variable exists. Also make sure you read up on the .SETALL() method as it is useful in some situations. However, in many, many cases, you will find a good recursive loop with tight code will solve a multitude of situations you are describing. If you have a specific issue, don't hesitate to ask!

Cheers,
Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform