Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetAll for methods
Message
From
13/04/2001 19:14:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00495458
Message ID:
00495482
Views:
12
>Does anyone have something like SetAll, except it works for methods, that they'd be willing to share? Or does anyone have any ideas on putting something like this together. Thanks,

Off the top of my head, is this what you wanna do:
for each loControl in thisform.controls
     if pemstatus(loControl, 'refresh', 5)
          loControl.Refresh()
     endif
endfor
That should call the refresh method of every control directly on the form that has a refresh method.
Previous
Reply
Map
View

Click here to load this message in the networking platform