WinStudio
IWSApplication interface
Returns a Visual Basic object that references the specified form.
varObject = Application.FindForm( string )
Part |
Description |
varObject | Required. A Visual Basic variable that is defined as an object and that references the form object. |
string | Required. The name of the form. |
The specified form must be open in WinStudio or must be accessible from a form that is open. However, the form does not have to have focus.
The Visual Basic Set instruction assigns an object reference to a variable.
Sub Main Dim oForm As IWSForm oForm = Application.FindForm("ReportOptions") Application.ShowMessage(oForm.Caption & "is open.") End Sub