Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I fire a method for all instances of a class.
Message
From
11/04/2003 16:54:10
 
 
To
11/04/2003 16:37:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00776786
Message ID:
00776793
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
>using the setall() method of a form you can set a property for every instance of a class on the form.
>
>Is there a method similarly that could be used to fire a method for every intance of a class.
>
>myfireall('click()','txtbox')
>
>or perhaps a better way.
>
>I have 20 combo boxes on a form. There is a custom method in each combobox that I need to fire. I know I can code each one individually, but thought there might be a cleaner way to do it.

Change a property that has an _ASSIGN method set up for it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform