Hi Experts, I'm a newbie in VB.net 2008 just need some help on how can I call the function/property of a form using my toolbar button on the MDI Form.
Because I have a plan to create an MDI form with Multiple form, and the toolbar button on my MDI form can easyly call the Function/Property of every form I will create.
Example
I have From1 and Form2 with same Function(Add New, Edit, Delete, Undo, etc.), then in my MDI form I have the active form and it's either Form1 or Form2. When I Click the Button New on the Toolbar of my MDI Form the textbox in my Form1 or Form2 who ever is active it will Enable the Textbox and buttons on the form, and if I click the UNDO button it will Disable the Textbox and buttons.
In VB 6 I have seen a command like this:
Screen.Activeform.<Function/Property name>
but when I try this in VB.Net 2008 It's different and I got error message.
Can any of me help me out?
Thanks in Advance
Ronald
Because I have a plan to create an MDI form with Multiple form, and the toolbar button on my MDI form can easyly call the Function/Property of every form I will create.
Example
I have From1 and Form2 with same Function(Add New, Edit, Delete, Undo, etc.), then in my MDI form I have the active form and it's either Form1 or Form2. When I Click the Button New on the Toolbar of my MDI Form the textbox in my Form1 or Form2 who ever is active it will Enable the Textbox and buttons on the form, and if I click the UNDO button it will Disable the Textbox and buttons.
In VB 6 I have seen a command like this:
Screen.Activeform.<Function/Property name>
but when I try this in VB.Net 2008 It's different and I got error message.
Can any of me help me out?
Thanks in Advance
Ronald