Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

more toolbar questions

2 views
Skip to first unread message

Timothy Taylor

unread,
Jun 19, 2003, 2:42:47 PM6/19/03
to
Where is the click event of a toolbar button? How do i put code for when
it's clicked?


Daniel Moth

unread,
Jun 19, 2003, 2:57:51 PM6/19/03
to
Catch the Toolbar.ButtonClick event and do something like

//C#
if (e.Button==toolBarButton1){
MessageBox.Show("Got it");
}

'VB.NET
select case true
case e.button is toolbarbutton1
msgbox("Got it")
end select

Cheers
Daniel

"Timothy Taylor" <timoth...@pocketelite.com> wrote in message
news:%23wPtVKp...@TK2MSFTNGP12.phx.gbl...

0 new messages