>
>>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