LastModalChildName property (WinStudio scripts)

Applies To

IWSForm interface

Definition

Returns a string containing the name of the last modal child find form that was launched from the specified form. Read-only.

Syntax

object.LastModalChildName

  Part   Description
object Required. A reference to the parent form for the modal child find form.

Remarks

The return value is a string containing the name of the modal child find form that was launched last.

An example of a modal child find form is the query form that is displayed when a user right-clicks in a component and selects the Find command. The user uses the modal child find form to issue a query and find a value for the component. Usually, the user selects a value from the results of the query to be used as the value for the component on the parent form.

Example

Sub Main()
   Dim strFindForm As String
   strFindForm =ThisForm.LastModalChildName
   Application.ShowMessage(strFindForm)
End Sub