MultiTextBox Class

class NXOpen.UIStyler.MultiTextBox

Bases: NXOpen.UIStyler.StylerItem

Represents a MultiTextBox for UI Styler.

New in version NX5.0.0.

Properties

Property Description
Sensitivity Returns or sets the sensitivity of the dialog item.
Visibility Returns or sets the visibility of the dialog item

Methods

Method Description
Dispose Free resources associated with the instance.
GetItemType Gets the dialog item type.
GetItemValues Specifies the text for this dialog item.
InitializeAttachment Returns initialized dialog item attachment information
IsEqualTo Equates two styler items
SetAttachment Specifies the updated dialog item attachment information
SetFocus Indicates that this dialog item is receiving keyboard focus.
SetItemValues Specifies the text for this dialog item.
SetLabel Specifies descriptive text to display for the dialog item.

Property Detail

Sensitivity

MultiTextBox.Sensitivity

Returns or sets the sensitivity of the dialog item.

-------------------------------------

Getter Method

Signature Sensitivity

Returns:to get senstivity of dialog
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Sensitivity

Parameters:type (bool) – to set senstivity of dialog

New in version NX5.0.0.

License requirements: None.

Visibility

MultiTextBox.Visibility

Returns or sets the visibility of the dialog item

-------------------------------------

Getter Method

Signature Visibility

Returns:to get visibility of dialog
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Visibility

Parameters:type (bool) – to set visibility of dialog

New in version NX5.0.0.

License requirements: None.

Method Detail

GetItemValues

MultiTextBox.GetItemValues

Specifies the text for this dialog item.

It can be programmatically get by APIs.

Signature GetItemValues()

Returns:to get array of strings
Return type:list of str

New in version NX5.0.0.

License requirements: None.

SetFocus

MultiTextBox.SetFocus

Indicates that this dialog item is receiving keyboard focus.

Signature SetFocus()

New in version NX5.0.0.

License requirements: None.

SetItemValues

MultiTextBox.SetItemValues

Specifies the text for this dialog item.

It can be programmatically set by APIs supported in different laguages,or interactively entered by the user.

Signature SetItemValues(values)

Parameters:values (list of str) – array of strings to set the values in multi select List

New in version NX5.0.0.

License requirements: None.

SetLabel

MultiTextBox.SetLabel

Specifies descriptive text to display for the dialog item.

It should describe the dialog item’s intended use.

Signature SetLabel(strLabel)

Parameters:strLabel (str) – new label string

New in version NX5.0.0.

License requirements: None.