Re: Tag Value of a Tool Bar Button

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jan Hyde (StellaDrinker_at_REMOVE.ME.uboot.com)
Date: 09/24/04


Date: Fri, 24 Sep 2004 17:05:20 +0100

Bob <Bob@discussions.microsoft.com>'s wild thoughts were
released on Wed, 22 Sep 2004 11:23:03 -0700 bearing the
following fruit:

>In a tool bar click event procedure, how do I access the tag value of a tool
>bar button to determine which button has been clicked. I know how to access
>the index value to identify the button but I want to use the tag value
>instead.

Why not use the button click event?

Then take a look at e.Button

Jan Hyde (VB MVP)

-- 
Whenever I watch TV and see those poor starving kids all over the world,
I can't help but cry. I mean I'd love to be skinny like that but not
with all those flies and death and stuff. (Mariah Carey) 
[Abolish the TV License - http://www.tvlicensing.biz/]


Relevant Pages

  • Re: Error coding question
    ... Bob O`Bob 's wild thoughts were ... following fruit: ... We were making love in the back of a truck and we got carried away. ...
    (microsoft.public.vb.general.discussion)
  • Re: Problem!
    ... Bob O`Bob 's wild thoughts were ... following fruit: ... Jan Hyde ...
    (microsoft.public.vb.general.discussion)
  • Re: Why dont I have a Form caption displayed?
    ... Bob O`Bob 's wild thoughts were ... following fruit: ... The most likely explanation is that you're mistaken about /all/ the properties being the same. ...
    (microsoft.public.vb.general.discussion)
  • Re: Using collections for the first time. How do I clear the collection for reuse?
    ... Bookreader 's wild thoughts were ... following fruit: ... Bob already posted a method to achieve the same thing in 1 ...
    (microsoft.public.vb.general.discussion)
  • Re: text boxes
    ... Bob O`Bob 's wild thoughts were ... following fruit: ... >> So what am I missing? ...
    (microsoft.public.vb.general.discussion)