Hi,
I'm using smart objets (am2) and I need to turn off the right-click menu in a smartbrowser...
Progress 11.5
Thanks
As per KB article How to disable the standard popup on SmartDataBrowser :
"
To disable this default pop-up menu for a single SmartDataBrowser, override the initializeObject procedure and add the line following line before the "RUN SUPER." :
{set PopupActive FALSE}.
To disable the menu for all SmartDataBrowsers, customize the browser class by creating the appropriate browsercustom.i and browsercustom.p, and place the override for initializeObject in the browsercustom.p instead.
As per KB article How to disable the standard popup on SmartDataBrowser :
"
To disable this default pop-up menu for a single SmartDataBrowser, override the initializeObject procedure and add the line following line before the "RUN SUPER." :
{set PopupActive FALSE}.
To disable the menu for all SmartDataBrowsers, customize the browser class by creating the appropriate browsercustom.i and browsercustom.p, and place the override for initializeObject in the browsercustom.p instead.
Thanks Frank, that work perfect!