HANDLE Property
Returns the Window handle number
Description:
A HANDLE is a unique reference to a system resource such as a Window which is actually an object. An object cannot be directly accessed by a program but the objects HANDLE can be used to perform certain tasks
Further information on system Objects and Handles can be viewed here. (External link that opens in a new tab)
Syntax:
THISWINDOW | <FormName>.HANDLE --> nHandleNumber
Valid For Use With:
This Property is assumed to be available for use with all Window types
Notes:
This property is only available after Window definition
Using this property gets a value representing the handle number of the Window running at the Operating System level as opposed to the Program level
For information on how to get numeric value for the Program level refer to the INDEX Property
It is recommended that <FormName>.HANDLE is used rather than THISWINDOW.HANDLE to ensure accurate results. Previous testing has found that results may not be as expected otherwise
No help documentation was published with the original or subsequent releases of HMG
Properties:
The following Property is available after the Window has been defined
nHandleNumber | Numeric | R | Gets a numeric value representing the Window Handle number |
D - Properties of this type can be used when defining a Window
R - Properties of this type can only be accessed (read) after the Window has been defined
W - Properties of this type can be changed (write) after the Window has been defined
See GETPROPERTY and SETPROPERTY functions for further infomation on accessing or changing properties or use semi-OOP syntax