Previous method (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Goes to the previous object in a specified IDO collection and returns a Boolean value indicating whether this navigation was successful.
Syntax
object.Previous( )
Part | Description |
object | Required. A reference to a valid IDO collection object. |
Remarks
A return value of:
- TRUE indicates that the collection was navigated to the previous object.
- FALSE indicates that the collection was not navigated to the previous object.
This method navigates objects in the collection but does not set the focus of the form to the previous object.
Example
Sub Main()
Dim bIsPrevious As String
bIsPrevious = ThisForm.PrimaryIDOCollection.Previous().ToString
Application.ShowMessage(bIsPrevious)
End Sub