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:
00905022
Views:
21
>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.

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform