WinStudio

Name Property

Applies To

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

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
Component

See the Example for Component Objects.