![]() |
Separator, BeginGroup unavailable |
Post Reply ![]() |
Author | |
winanjaya ![]() Groupie ![]() Joined: 07 August 2005 Location: Indonesia Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() Posted: 21 May 2008 at 10:32am |
Dear All, I am unable to use BeginGroup Property to set separator... could any body please advise how to set separator for the codes below? Thanks a lot in advance
Regards
Winanjaya
Dim ControlView As CommandBarPopup
Dim Control As CommandBarControl Set ControlView = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "&View") With ControlView.CommandBar.Controls Set Control = .Add(xtpControlButtonPopup, 0, "Hello World") With Control .CommandBar.Controls.Add xtpControlButton, 1, "Menu 1" ---> I want to put separator here! but BeginGroup property unavailable
.CommandBar.Controls.Add xtpControlButton, 2, "Menu 2"
.CommandBar.Controls.Add xtpControlButton, 3, "Menu 3" End With End With |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Just add (Bold and Red text) to the line
.CommandBar.Controls.Add (xtpControlButton, 2, "Menu 2").BeginGroup = True
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
![]() |
|
winanjaya ![]() Groupie ![]() Joined: 07 August 2005 Location: Indonesia Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
Thanks a lot!
|
|
![]() |
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 |