borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Shell command) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Menu Item Click
Poster Message
alopez39
Level: Trainee

Registered: 12-06-2007
Posts: 2

icon Menu Item Click

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
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 1019
icon 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)

13-04-2008 at 07:47 AM
View Profile Send Email to User Show All Posts | Quote Reply
Keithuk
Level: Graduate


Registered: 02-11-2006
Posts: 12
icon Re: Menu Item Click

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.
09-05-2008 at 12:17 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : Menu Item Click
Next Topic (Shell command) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder