Print Page | Close Window

Disable right click

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11850
Printed Date: 16 June 2025 at 7:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable right click
Posted By: JvdH
Subject: Disable right click
Date Posted: 16 August 2008 at 9:34am
Hi,
 
Is it possible to disable the rightclick menu when you right click on a ribbon?
 
Dont want that right click menu.
 
Thank you :)



Replies:
Posted By: Oleg
Date Posted: 18 August 2008 at 2:12am
Hi,
 
Add this:
 
Private Sub CommandBars_ToolBarContextMenu(ByVal ToolBar As XtremeCommandBars.ICommandBar, ByVal ContextMenu As XtremeCommandBars.ICommandBar)
    ContextMenu.Controls.DeleteAll
End Sub


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: JvdH
Date Posted: 18 August 2008 at 1:48pm
Originally posted by oleg oleg wrote:

Hi,
 
Add this:
 
Private Sub CommandBars_ToolBarContextMenu(ByVal ToolBar As XtremeCommandBars.ICommandBar, ByVal ContextMenu As XtremeCommandBars.ICommandBar)
    ContextMenu.Controls.DeleteAll
End Sub
 
Works fine for me :).
 
Thank you oleg.


-------------
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows 7 (64bit)
Language: Visual Basic 6.0 SP6


Posted By: WaleedSeada
Date Posted: 21 August 2008 at 6:26am
Hello,
 
How about replacing it with custom context menu ??
 
Best regards,
 


-------------
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net