Tutorial - CommandBar |
Post Reply |
Author | |
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Posted: 09 January 2007 at 4:35pm |
It is OK. But if you need to see the property then you can do:
Dim ControlPopup as CommandBarPopup Set ControlPopup = .Add(xtpControlPopup, 0, "&Toolbars") |
|
Shabu007
Newbie Joined: 09 January 2007 Location: Uganda Status: Offline Points: 1 |
Post Options
Thanks(0)
|
Problem with commandbarcontrol
Code:
Dim Control As CommandBarControl
Set ControlView = CommandBars.ActiveMenuBar.Controls.Add (xtpControlPopup, 0, "&View")
With ControlView.CommandBar.Controls Set Control = .Add(xtpControlPopup, 0, "&Toolbars") Control.CommandBar.Controls.Add xtpControlButton, ID_VIEW_TOOLBAR_STANDARD, "&Standard" 'Control doesnot have COMMANDBAR Property ????????????? .Add xtpControlButton, ID_VIEW_STATUSBAR, "Status Bar" End With |
|
Shabuddin, Uganda
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |