Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : CURRENT-WINDOW attribute
 

CURRENT-WINDOW attribute

A current window for the specified procedure.
Data type: HANDLE
Access: Readable/Writeable
Applies to: Procedure object handle, SOURCE-PROCEDURE system handle, TARGET-PROCEDURE system handle, THIS-PROCEDURE system handle
Specifies and allows you to reset the current window used to parent alert box, dialog box, or frame widgets for the specified procedure. The default value is the Unknown value (?). Returns the Unknown value (?) for a Web service procedure or proxy procedure.
If you set this attribute to the handle of a window, this value takes precedence over the CURRENT-WINDOW handle to provide the default window for parenting alert boxes, frames, and dialog boxes created within the procedure.
This attribute is especially useful for creating and associating a unique current window with each instantiation of a persistent procedure. For more information on persistent procedures, see the RUN statement reference entry.