Information générale
Titre:
Click Procedure for Class
I hope I can explain what I have done and what I need to do.
I have a form that uses a class I created to display a dynamic set of options based on users authority. I used a container class with code to determine how many options to display and the captions to use. Then I use an AddObject('signoff_options','OptionGroup1'). I then run a program that defines the class, this defines the Click procedure. Next the number of buttons to display, visible, color, captions is done.
This all works great as long as I phyisically click on one of the options after the form starts. But there are some instances where I need to programatically click an option. How can this be done?
I can get this to work: ThisForm.myOGx.signoff_options.Option1.Value = 1
But not this: ThisForm.myOGx.signoff_options.Option1.Click
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement