Consultor Eletrônico



Kbase P44274: How to launch an Independent Window (DynObjc) from another container
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/05/2005
Status: Verified

GOAL:

How to launch an Independent Window (DynObjc) from another container

GOAL:

How to use the launchContainer procedure

FACT(s) (Environment):

Dynamics

FIX:

The launchContainer procedure in the Session Manager should be used to launch dynamics objects.

The following are the parameters needed for the launchContainer procedure:

input object filename if the physical or physical and logical names are not known
input physical object name (with path and extension) if known
input logical object name if applicable and known
input once only flag YES/NO
input instance attributes to pass to container
input child data key if applicable
input run attribute if required to post into container run
input container mode, e.g. modify, view, add or copy
input parent (caller) window handle if known (container window handle)
input parent (caller) procedure handle if known (container procedure handle)
input parent (caller) object handle if known (handle at end of toolbar link, e.g. browser)
output procedure handle of object run/running
output procedure type (e.g. ADM, Astra1, ADM2, ICF, "")


The following is an example of how to run the launchContainer procedure:

DEFINE VARIABLE hObject AS HANDLE NO-UNDO.
DEFINE VARIABLE cType AS CHARACTER NO-UNDO.

RUN LaunchContainer IN gshSessionManager
(INPUT "",
INPUT "",
INPUT "<logical-object-name":U,
INPUT TRUE,
INPUT "":U,
INPUT "":U,
INPUT "":U,
INPUT "":U,
INPUT ?,
INPUT TARGET-PROCEDURE,
INPUT ?,
OUTPUT hObject,
OUTPUT cType
).