How to use BeginGroup in nested menus? |
Post Reply |
Author | |
eugene_v
Groupie Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 28 October 2008 at 8:18pm |
Good day everyone!
Could someone point me at how to use BeginGroup in nested menus?
Here is my code:
Thank you very much in advance,
Eugene
|
|
Eugene V
A happy registered user of Xtreme SuitePro 2007 11.2.0 with VB6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
add additional variable
Set ControAscending = Control.CommandBar.Controls.Add (xtpControlButton, ID_VIEW_SORT_BY_ASCENDING, "Ascending")
ControAscending.BeginGroup = True |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
eugene_v
Groupie Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Oleg, thank you for the suggestion. Yet, for some reason, I get Run-time error 13, Type Mismatch on this line:
For some reason it doesn't like the result returned by .Add
Any ideas? What am I doing wrong?
Eugene
|
|
Eugene V
A happy registered user of Xtreme SuitePro 2007 11.2.0 with VB6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
How you declared ControlAscending ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |