Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddObject - Click Event
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00990913
Message ID:
00991370
Views:
17
Sergey,

Thanks for the reply. Shortly after I posted, I remembered how I had done something similar in the past.

I created a new Class - MyChkBox based on CheckBox. Before I saved it, I created a ClickEvent: Thisform.CheckBoxClicked(This.name)

In the form where I create the (from 1 to 8) Checkboxes programatically I give them names like CBX1 - CBX8. In the form I also have a CheckBoxClicked method that uses the 4th character of the passed parameter to identify the box that was checked.

By creating the class, I end up with less coding than your solution, but I greatly appreciate your response because for a while there I was butting up against a stone wall.

Thanks

Rudy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform