D
Diego
Hi,
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
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