General information
Category:
Coding, syntax & commands
>
>I would also make the group enabling or disabling of buttons a new method on the form, so that your code is only in one place.
>
>I.love.bad.Humor(!)
How about adding a property to your button class called something like cButton_Group. Store the name of the group the button belongs to in here.
Then have a form method that runs through all Commandbuttons and enables/disables based on whether the property cButton_Group matches the group you want to change etc. Pass in the name of the group and the new Enabled status when you call the method.
-Doug-
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only