![]() |
Customize Toolbar |
Post Reply ![]() |
Author | |
Detlev Schubert ![]() Groupie ![]() Joined: 14 August 2006 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() Posted: 29 August 2006 at 4:23pm |
Hello,
isn't it possible that you can make a toolbaar "half" customize without customize-Dialog, so that a user only can choose between all available toolbar-Icons like here?
![]() when I set CommandBars.EnableCustomization (False) the Standard will be disabled so that it's not possible to show the right menu dialog. Perhaps there is a trick to make it possible ?
thx Detlev
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
You can try catch InitCommandsPopup method and remove Customize button if found.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Detlev Schubert ![]() Groupie ![]() Joined: 14 August 2006 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
Hello Oleg my hero ;-)
hmm... sorry but I can't understand you. Please can you explain me what you mean ?
thx Detlev
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
ok, ok. Here code:
Private Sub CommandBars_InitCommandsPopup(ByVal CommandBar As XtremeCommandBars.ICommandBar)
If (CommandBar.Controls.Count > 1) Then Dim LastControl As CommandBarControl Set LastControl = CommandBar.Controls(CommandBar.Controls.Count) If (LastControl.Id = XTP_ID_CUSTOMIZE) Then LastControl.Delete End If End If End Sub |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Detlev Schubert ![]() Groupie ![]() Joined: 14 August 2006 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
Hello Oleg,
great ... it works very fine too, and you are not only my hero, you makes my horrible rainy day to a sunshine day.
thx a lot
Detlev
|
|
![]() |
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 |