Consultor Eletrônico



Kbase P120094: How to disable the standard popup on SmartDataBrowser
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/2/2006
Status: Unverified

GOAL:

How to disable the standard popup on SmartDataBrowser

GOAL:

ADM2

FACT(s) (Environment):

OpenEdge 10.x

FIX:

Starting with OpenEdge 10.0A, the SmartDataBrowser comes with a default pop-up menu with options to control column order, sorting and such.

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.