Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recurse through all controls
Message
From
20/05/2004 03:22:33
 
 
To
19/05/2004 13:47:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00904798
Message ID:
00905516
Views:
7
>>As for your code, I just would'n implement it as function
>>for practicality reasons ;
>>
>>
>>FUNCTION Process
>>LPARAMETERS oControl
>>
>>* Do whatever to oControl
>>
>>* This means that you have to write
>>* one function for each use.
>>
>>IF PEMSTATUS(oControl, "Objects", 5)
>>   FOR EACH oObject IN oControl.Objects
>>     This.Process(oObject)
>>   ENDFOR
>>ENDIF
>>
>>
>>
>>I would prefer this to be part of some class / object,
>>having one method 'free' to play with controls as I am pleased :)
>
>In fact, if you look, you see that it is a method, though it could equally be a function.
>
>Hmm, never actually checked whether you can use the FUNCTION keyword in a method definition.
>
>Tamar

Works fine.
I read somewhere that objects/classes are invented as more efficiant way of packaging procedural files.
This maybe proves that :)

Regards
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform