Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addobject.method....
Message
 
To
11/09/1999 17:07:01
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00263708
Message ID:
00263738
Views:
20
Frank,
First, try to 'reply' to a message (in this case Jim's) instead of starting a new thread. This helps people see the continuity between messages and you don't need to cut/paste information.

Second, yes you can subclass your textboxes so the click event does different things. Or, you can add a property to the class and in the Click event have "DO CASE" loop which checks this property. Property = 1, release the form. Property = 2, make the textbox invisible, etc.

HTH
Barbara

>i was able to use jims suggestion - see below - now my question is in regards to using the same class defininiton for any number of the same type of objects, but be able to change the click event or any other event for that matter in that class definition for their particular need. for example if i want the click event for textbox1 to release the form or i want the click event for textbox2 to make another object visible, depeneding on which was clicked. fist i would have to determine which text box was clicked and then act upon that, ie if a then b else c. or do you have to have a separate class definition for each?
>
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform