I'm trying to bring up the commands on a function when I click on ToolStripMenuItem_Click. How can I make it so that it gives me the result as the Private Function?
09-04-2008 at 07:00 PM
|
stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 1019
Re: Menu Item Click
Hi
Can you rephrase that please? I can't understand, so cannot help
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
quote:alopez39 wrote:
I'm trying to bring up the commands on a function when I click on ToolStripMenuItem_Click. How can I make it so that it gives me the result as the Private Function?
Is ToolStripMenuItem a menu item? If so then give it a useful prefix. All controls used in VB should have a prefix in the control name, it makes the code easier to follow.
mnuToolStripMenuItem
You add you function under then mnuToolStripMenuItem_Click() event.
____________________________ I've been programming with VB for 14 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.