M
Michael
I have successfully created a set of Command Button controls on a form
through some code, but am now faced with an unexpected problem.
How do I create the "Click Event" for those buttons?
If I create a CommandButton using the control tool box, then its easy. I
just "Build Event" and place my code under the click event. But I can't work
out how to do the same if the command button was created on the fly, through
code.
Any suggestions?
Thanks
Michael
through some code, but am now faced with an unexpected problem.
How do I create the "Click Event" for those buttons?
If I create a CommandButton using the control tool box, then its easy. I
just "Build Event" and place my code under the click event. But I can't work
out how to do the same if the command button was created on the fly, through
code.
Any suggestions?
Thanks
Michael