Text centered in CommandBarPopup

D

Diego

Hi,

I am not sure If this is the best forum, but I am a bit stucked...

I am using a CommandBarPopup in an Office toolbar, and I set the text using
'.Caption(...)'. The problem is that the text is centered by default, instead
of 'left-aligned'.

I have installed the Skype Toolbar in my Outlook, which also has a
CommandBarPopup control, and I see the text left-aligned... So it seems to be
something only in my control.

Why can be that? May it be sth about Office in general?

My code:
--------------------------------------------------------------------------------
Dim m_popUpMenu As Office.CommandBarPopup
....
Set m_popUpMenu = .Add(Type:=msoControlPopup, Temporary:=True, Before:=1)

With m_popUpMenu
.Tag = "Options"
.ToolTipText = "Options"
.Enabled = True
.Width = 120
.Caption = "Options"
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top