Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - [solved] CustomizeDialogPresent for ContextMenus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved] CustomizeDialogPresent for ContextMenus

 Post Reply Post Reply
Author
Message
tjsivies View Drop Down
Groupie
Groupie
Avatar

Joined: 04 December 2006
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote tjsivies Quote  Post ReplyReply Direct Link To This Post Topic: [solved] CustomizeDialogPresent for ContextMenus
    Posted: 09 February 2017 at 12:05am
I have created several Context Menus.
I only want 1 of these menus to be available for customization by the user.
I cannot find a way of only showing the 1 menu that I want to be customized.
I have tried using Contextmenu.CustomizeDialogPresent = False, but this returns a RTE 438.

It appears that the CustomizeDialogPresent property only works on CommandBars and not Contextmenus?


Please help me know of a way of not showing ContextMenus in the Customization Dialog.


Xtreme SuitePro (ActiveX) version 18.3.0

Windows 7 (64bit)

Visual Basic 6.0 SP6
Back to Top
tjsivies View Drop Down
Groupie
Groupie
Avatar

Joined: 04 December 2006
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote tjsivies Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2017 at 12:37am
Just a note for anyone else that had this issue, Codejock fixed this BUG in v18.0.1
Xtreme SuitePro (ActiveX) version 18.3.0

Windows 7 (64bit)

Visual Basic 6.0 SP6
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2017 at 6:30pm
Hello,

I have checked this with  Samples\CommandBars\VB\ActionsSample\frmMain.frm
Private Sub Form_Load()
.....
    Dim ContextMenu As CommandBar
    Set ContextMenu = CommandBars.ContextMenus.Add(400, "Context Menu")
.....
    ContextMenu.CustomizeDialogPresent = False
.....
and this works as expected. Investigate this sample and compare to your code.

Maybe you have tried next wrong code ?
Private Sub CommandBars_Customization(ByVal Options As XtremeCommandBars.ICustomizeOptions)
    Options.ShowMenusPage = True
    Options.ContextMenu.CustomizeDialogPresent = False
End Sub

Originally posted by tjsivies tjsivies wrote:

Just a note for anyone else that had this issue, Codejock fixed this BUG in v18.0.1
What exactly bug did you mean ?

Regards,
 Oleksandr Lebed
Back to Top
tjsivies View Drop Down
Groupie
Groupie
Avatar

Joined: 04 December 2006
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote tjsivies Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2017 at 7:33pm
This was an issue in v17 and was rectified in the v18.0.1 release.

Vlad confirmed this and advised that the update resolved the issue.

Xtreme SuitePro (ActiveX) version 18.3.0

Windows 7 (64bit)

Visual Basic 6.0 SP6
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2017 at 7:35pm
So, have you tried to change ActionsSample as I wrote ?
Back to Top
tjsivies View Drop Down
Groupie
Groupie
Avatar

Joined: 04 December 2006
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote tjsivies Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2017 at 7:39pm
Yes. As stated this was resoled in v18.0.1.
Everything works fine now.
No more testing required.
Thx
Xtreme SuitePro (ActiveX) version 18.3.0

Windows 7 (64bit)

Visual Basic 6.0 SP6
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2017 at 7:46pm
oops, I forgot to look at date of your first post :-)    I thought it was right before second post.
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.172 seconds.