Consultor Eletrônico



Kbase P26637: Smart viewer and Smart Toolbar inside a container: How to close the container after the user save, d
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

Smart viewer and Smart Toolbar inside a container: How to close the container after the user save, delete current record, or save a new created record

FIX:

Override UpdateRecord and deleteRecord in the viewer with something like:

RUN SUPER.

/* Code placed here will execute AFTER standard behavior. */
DEFINE VARIABLE h AS HANDLE NO-UNDO.
h = DYNAMIC-FUNCTION('getContainerSource':U).
RUN exitObject IN h.