By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,161 Members | 2,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,161 IT Pros & Developers. It's quick & easy.

Case select for multiple tollbar buttons

P: n/a
Hi all,

I have searched some old posts and it appears that to run some code for a
particular button that has been clicked on a toolbar, I need to have a case
statement in the toolbar click event function.

Can anyone supply me with the specific case statement code to determine which
button has been clicked? The posts that I found only have code samples in C#


Message posted via
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

In my opinion is the most simple way to use the tag property for that (to
become language independent).

And than just in the click event from the toolbar
Select Case e.Button.Tag
Case "First"
End Select
I hope this helps,

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.