PC Review


Reply
Thread Tools Rate Thread

Button on custom toolbar appears only after mouse hovered over it

 
 
Benjamin
Guest
Posts: n/a
 
      16th Oct 2006
Hi all,

If have a toolbar that is created when I open a certain workbook; there
are three buttons on the toolbar. The code to add one of the buttons
looks like this:

' Button for email configuration.
With cbcCustomToolbar.Controls.Add(Type:=msoControlButton)
.FaceId = 2569
.TooltipText = "E-mail instellingen wijzigen"
.OnAction = "ShowMailConfig"
.Style = msoButtonIcon
End With

Strangely enough, the first two buttons show up as expected. The third
one (generated with the code above) is not there, but as soon as I
hover with the mouse above the place where it's meant to be, the button
appears and everything is fine. Why isn't it already there when I open
the workbook?

This happens with Excel 2003.

 
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
Font on nav button goes strange when hovered over =?Utf-8?B?TmlhZ2FyYSBNb3VzZQ==?= Microsoft Frontpage 2 5th Nov 2007 04:02 PM
Adding a tip when the mouse is hovered over a shape in Excel.... jbeard@barrick.com.au Microsoft Excel Programming 6 3rd Aug 2006 09:53 PM
Delete a custom button by holding down the ALT key and dragging the button off the toolbar Stephen Microsoft Excel Programming 0 4th Apr 2004 02:22 PM
All Programs Menu does not open when clicked or hovered over by the mouse. Adam Cimand Windows XP General 2 30th Mar 2004 03:50 PM
Toolbar button being hovered over Brian Henry Microsoft VB .NET 3 22nd Mar 2004 09:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.