HerbAndEdnaWeinstein
Technical User
Hi, I've designed a Form in a Project, and called it "Form_Main". Then I declared the form globally in MyClass like this:
**************************************************
Private m_pForm_Main As Form_Main
**************************************************
I can access it and make changes to it like this:
**************************************************
m_pForm_Main.Show()
m_pForm_Main.TextBox1.Text = "This is a textbox"
**************************************************
What I can't figure out how to do, however, is track button presses or other events on m_pForm_Main.
Thanks in advance for any help!
Herbie
**************************************************
Private m_pForm_Main As Form_Main
**************************************************
I can access it and make changes to it like this:
**************************************************
m_pForm_Main.Show()
m_pForm_Main.TextBox1.Text = "This is a textbox"
**************************************************
What I can't figure out how to do, however, is track button presses or other events on m_pForm_Main.
Thanks in advance for any help!
Herbie