ParentFormName property (WinStudio scripts)
Applies To
IWSForm interface, modal child or linked forms
Definition
Returns the name of the parent form.
Syntax
object.ParentFormName
Part | Description |
object | Required. A reference to a valid child or linked form. |
Remarks
The return value is a string containing the name of the parent form. If the specified form is not a modal child or linked form, the string is empty because there is no parent form.
Example
Sub Main()
Dim strParentForm As String
strParentForm = ThisForm.ParentFormName
Application.ShowMessage(strParentForm)
End Sub