Enable/Disable a complete Toolbar |
Post Reply |
Author | |
Samual
Newbie Joined: 28 June 2019 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 28 June 2019 at 11:42am |
How is it possible to Enable/Disable a complete Toolbar?
I know, I can set all the controls in "MyBar_Update(ByVal Control As XtremeCommandBars.ICommandBarControl)" like this "Control.Parent.BarID = MyDisbaleBarID" But how can I set it back? Important: Some of Buttons are already Disabled some other Enabled. So it isn't a solution to enable/disable all Control-Items. It must take the actually Enable/Disable-State! For example - I have 3 Toolbar-Rows with 38 Buttons. Button 12, 16, 19, 31 and 36 is disabled. - Now I want to Disable Toolbar-Row No. 2 (with includes Buttons 16,19 and 36) - Some times later, I want to Enable the Toolbar-Row No. 2 (but Buttons 16,19 and 36 must still be disabled) I don't found a way like "Toolbar(2).Enable = True/False" So what is the solution?
|
|
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 |