INDEX Property
Returns the Window index number
Description:
Each Window that is defined within a program has a unique index number to identify it. The INDEX Property returns a numeric value for any Window defined in the program
Syntax:
THISWINDOW | <FormName>.INDEX --> nIndexNumber
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 index number of the Window running at Program level as opposed to the Operating System
For information on how to get numeric value for the Operating System level refer to the HANDLE Property
It is recommended that <FormName>.INDEX is used rather than THISWINDOW.INDEX 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
nIndexNumber | Numeric | R | Gets a numeric value representing the Window Index 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