Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recurse through all controls
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00904798
Message ID:
00905056
Views:
24
>
>>FUNCTION Process
>>LPARAMETERS oControl
>>
>>* Do whatever to oControl
>>
>>IF PEMSTATUS(oControl, "Objects", 5)
>>   FOR EACH oObject IN oControl.Objects
>>      This.Process(oObject)
>>   ENDFOR
>>ENDIF
>
>
>Hi Tamar,
>
>This is very concise. A causion should be taken with "do nesting" ( in this case, Process calling Process) for it is limited to 128 levels. If the limit is exceeded, error 103 will be issued by VFP.
>

Good point, though I think it's unlikely that anyone would have controls nested that deeply.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform