MAXScript Tools and Interaction with 3ds Max > DotNet In MAXScript > The MaxCustomControls Assembly > 3ds Max Components >

# MaxCustomControls.RenameInstanceDialog dotNetObject

This dotNetObject is implemented by the MaxCustomControls Assembly and provides a DotNet Form with a TextBox for renaming instances of the Scene Explorer. It features the 3ds Max Look-And-Feel including the current color scheme, 3ds Max icon etc.

EXAMPLE
    theObj = dotNetObject "MaxCustomControls.RenameInstanceDialog" "Old Name"
    theObj.Show()

dotNetObject "MaxCustomControls.RenameInstanceDialog"

Constructors:

    MaxCustomControls.RenameInstanceDialog <System.String>instanceName

Properties:

    .ActiveForm : <System.Windows.Forms.Form>, read-only, static
    .CheckForIllegalCrossThreadCalls : <System.Boolean>, static
    .DefaultBackColor : <System.Drawing.Color>, read-only, static
    .DefaultFont : <System.Drawing.Font>, read-only, static
    .DefaultForeColor : <System.Drawing.Color>, read-only, static
    .ModifierKeys : <System.Windows.Forms.Keys>, read-only, static
    .MouseButtons : <System.Windows.Forms.MouseButtons>, read-only, static
    .MousePosition : <System.Drawing.Point>, read-only, static

Methods:

    .[static]<System.Boolean>Equals <System.Object>objA <System.Object>objB
     .[static]<System.Windows.Forms.Control>FromChildHandle <System.IntPtr>handle
     .[static]<System.Windows.Forms.Control>FromHandle <System.IntPtr>handle
     .[static]<System.Drawing.SizeF>GetAutoScaleSize <System.Drawing.Font>font
    .[static]<System.Boolean>IsKeyLocked <System.Windows.Forms.Keys>keyVal
    .[static]<System.Boolean>IsMnemonic <System.Char>charCode <System.String>text
    .[static]<System.Boolean>ReferenceEquals <System.Object>objA <System.Object>objB

#### See Also

- MaxCustomControls Assembly

- DotNet In MAXScript

- dotNet Struct Methods