Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Specific Property Exists or not?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00816274
Message ID:
00817134
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform