Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Home Page (Objects) | Overview | FAQ | Reference
Applies to: TextWindow object, Window object
Gets the one-based ordinal of a window in the Windows collection obtained by using the Windows property of the Application object.
Syntax
object**.Index**
Parameters
object
An expression that evaluates to a TextWindow object or a Window object.
Remarks
The Index property has the Long type.
Windows in the collection accessed by the Windows property of the Application object are ordered by Z-Order. Accordingly, you can use the Index property to determine where a given window lies in the Z-Order of all MDI client windows.
Example
The following example gets the location of the first breakpoint in the Breakpoints collection:
Dim bps
Set bps = Debugger.Breakpoints
bps.Item(1).Location