Consultor Eletrônico



Kbase P27258: How to create Windows in the Procedure Editor?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/02/2004
Status: Unverified

GOAL:

How to create window families in the Procedure Editor?

FIX:

The sample snippet of code illustrates how to create a parent and child window.

DEFINE VARIABLE whandle1 AS HANDLE.
DEFINE VARIABLE whandle2 AS HANDLE.

CREATE WINDOW whandle1

ASSIGN TITLE = "Parent Window"
HEIGHT-CHARS = 5
WIDTH-CHARS = 27
PARENT = CURRENT-WINDOW.

CREATE WINDOW whandle2

ASSIGN TITLE = "Child Window"
HEIGHT-CHARS = 5
WIDTH-CHARS = 27
PARENT = whandle1.