PC Review


Reply
Thread Tools Rate Thread

Can I add buttons to toolbar at runtime?

 
 
nsteele84@hotmail.com
Guest
Posts: n/a
 
      3rd Mar 2004
Hi

I need to be able to add buttons to a toolbar at runtime. Is this
possible? If so if anyone has examples I would appreciate it.

Thanks

Nick Steele
 
Reply With Quote
 
 
 
 
William Ryan eMVP
Guest
Posts: n/a
 
      3rd Mar 2004
Dim btn as New ToolBarButton
YourToolbar.Buttons.Add(btn)
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> I need to be able to add buttons to a toolbar at runtime. Is this
> possible? If so if anyone has examples I would appreciate it.
>
> Thanks
>
> Nick Steele



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      3rd Mar 2004
* (E-Mail Removed) scripsit:
> I need to be able to add buttons to a toolbar at runtime. Is this
> possible? If so if anyone has examples I would appreciate it.


Have a look at the overloaded versions of 'ToolBar1.Buttons.Add'.

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access runtime & Adobe Acrobat toolbar buttons Brian Microsoft Access VBA Modules 1 5th Dec 2008 02:14 PM
Shortcuts for toolbar buttons/view code of toolbar buttons ericm Microsoft Excel Programming 2 23rd Jul 2007 09:49 PM
Shortcuts for toolbar buttons/view code of toolbar buttons ericm Microsoft Excel Programming 1 23rd Jul 2007 09:00 PM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Microsoft Excel Programming 2 3rd Mar 2004 03:31 PM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Microsoft Excel Discussion 2 3rd Mar 2004 12:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:08 PM.