WinStudio
IWSForm interface, modal child or linked forms
Returns the name of the parent form.
object.ParentFormName
Part |
Description |
object | Required. A reference to a valid child or linked form. |
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.
Sub Main() Dim strParentForm As String strParentForm = ThisForm.ParentFormName Application.ShowMessage(strParentForm) End Sub