Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Tutorial - CommandBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tutorial - CommandBar

 Post Reply Post Reply
Author
Message
Shabu007 View Drop Down
Newbie
Newbie
Avatar

Joined: 09 January 2007
Location: Uganda
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shabu007 Quote  Post ReplyReply Direct Link To This Post Topic: Tutorial - CommandBar
    Posted: 09 January 2007 at 2:55pm
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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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")  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.