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>] [toolTip:<string>]

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.

The toolTip: parameter provides text for a tooltip for the label; no tooltip if unsupplied.

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