Name property (WinStudio scripts)

Applies To

  • IWSForm interface
  • IWSFormComponent interface
  • IWSIDOProperty interface

Definition

Returns a string containing the name of the form, component, property, or variable object.

Syntax

object.Name

  Part   Description
object Required. A reference to a valid object.

Remarks

The return value is a string containing the name of the object you requested, as designated and recognized by the WinStudio metadata.

Examples

For a form:

Sub Main()
   'Display the currently active form's name in a message box.
   Application.ShowMessage("The name of this form is: " _
      & vbLf & vbLf & "   " & ThisForm.Name)
End Sub

For a component:

See the Example for component objects.