WinStudio
Returns a string containing the name of the form, component, property, or variable object.
object.Name
Part |
Description |
object | Required. A reference to a valid object. |
The return value is a string containing the name of the object you requested, as designated and recognized by the WinStudio metadata.
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
See the Example for Component Objects.