Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Can't add split button popup in a tabbed toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can't add split button popup in a tabbed toolbar

 Post Reply Post Reply
Author
Message
joy.m View Drop Down
Newbie
Newbie


Joined: 29 December 2006
Location: India
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote joy.m Quote  Post ReplyReply Direct Link To This Post Topic: Can't add split button popup in a tabbed toolbar
    Posted: 29 December 2006 at 12:21pm
Hi Everybody,
 
I m very new to cj development. I have created a tabbed toolbar control with activemenu visibility set to false. I have created a split button in the tabbed toolbar which needs to show some menu item. I have checked all sample applications (including SDI form sample) and this forum but could not figure out how to do it. I am attaching my code for evaluation and suggest how to do it properly.
 
Public TabToolBar As TabToolBar
Dim Ctrl As CommandBarControl
Dim toolbarTab As TabControlItem
 
Set toolbarTab = TabToolBar.InsertCategory(1, "Entry")
 
    With TabToolBar
        Set Ctrl = .Controls.Add(xtpControlButton, 201, "Booking")
        Ctrl.Category = "Entry"
        Set Ctrl = .Controls.Add(xtpControlSplitButtonPopup, 202, "Results")
        Ctrl.Category = "Entry"
        Ctrl.BeginGroup = True
    End With
I want to add menu items in the button marked red.
 
Please please help me to overcome this problem. I need it urgently.
 
Thanx in advance.
 
 
Back to Top
joy.m View Drop Down
Newbie
Newbie


Joined: 29 December 2006
Location: India
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote joy.m Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2007 at 4:17pm
Problem solved. Anyway Thanks to all.
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.047 seconds.