WinStudio
IWSForm interface
Returns a string containing the name of the last modal child find form that was launched from the specified form. Read-only.
object.LastModalChildName
Part |
Description |
object | Required. A reference to the parent form for the modal child find form. |
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.
Sub Main() Dim strFindForm As String strFindForm =ThisForm.LastModalChildName Application.ShowMessage(strFindForm) End Sub