![]() |
Can't add split button popup in a tabbed toolbar |
Post Reply ![]() |
Author | |
joy.m ![]() Newbie ![]() Joined: 29 December 2006 Location: India Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
joy.m ![]() Newbie ![]() Joined: 29 December 2006 Location: India Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Problem solved. Anyway Thanks to all.
|
|
![]() |
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 |