Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Customize Toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Customize Toolbar

 Post Reply Post Reply
Author
Message
Detlev Schubert View Drop Down
Groupie
Groupie


Joined: 14 August 2006
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Schubert Quote  Post ReplyReply Direct Link To This Post Topic: Customize Toolbar
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2006 at 8:50am
Hello,
 
You can try catch InitCommandsPopup method and remove Customize button if found.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Detlev Schubert View Drop Down
Groupie
Groupie


Joined: 14 August 2006
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Schubert Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2006 at 8:55am
Hello Oleg my hero ;-)
 
hmm... sorry but I can't understand you. Please can you explain me what you mean ?
 
thx Detlev
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2006 at 11:56am
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
Back to Top
Detlev Schubert View Drop Down
Groupie
Groupie


Joined: 14 August 2006
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Schubert Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2006 at 12:22pm
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.