MAXScript Tools and Interaction with 3ds Max > Creating MAXScript Tools > Scripted Utilities and Rollouts > Rollout User-Interface Controls > Rollout User-Interface Controls Types >

# Label UI Control

| Creating User Interfaces - Quick Navigation

User Interface Controls > Common Properties > Layout > Types > Label

A label control is used to place non-editable text on the rollout, perhaps a label for another item or a text message.

The syntax is:

    label <name> [<string>] [style_sunkenedge:<bool>]

The default alignment of label items is #center .

When supplied and set to true , the style_sunkenedge: optional keyword parameter available in 3ds Max 2009 and higher lets the label draw a half-sunken border around the control.

EXAMPLE:
    rollout test "Test Label"
    (
      label lab1 "Sorry For The Inconveniences!"
      label lab2 "DoN't PaNiC!"style_sunkenedge:true width:150 height:16
    )
    createDialog test

Properties

No properties exposed.

Events

No events exposed.

#### See Also

- Rollout User-Interface Items Common Properties

- Rollout User-Interface Items Common Layout Parameters

- Rollout User-Interface Control Types

- Similar Controls

- Edittext

- HyperLink