TabControl Class¶
-
class
NXOpen.UIStyler.TabControl¶ Bases:
NXOpen.UIStyler.StylerItemRepresents a Tab Control for UI Styler.
New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| PageSwitchData | Returns the page switch data |
| Sensitivity | Returns or sets the sensitivity of the dialog item |
| Visibility | Returns or sets the visibility of the dialog item |
Methods¶
| Method | Description |
|---|---|
| AddSwitchHandler | Registers switch callback. |
| Dispose | Free resources associated with the instance. |
| GetItemType | Gets the dialog item type. |
| InitializeAttachment | Returns initialized dialog item attachment information |
| IsEqualTo | Equates two styler items |
| SetAttachment | Specifies the updated dialog item attachment information |
| SetFocus | Sets focus |
Property Detail¶
PageSwitchData¶
-
TabControl.PageSwitchData¶ Returns the page switch data
-------------------------------------Getter Method
Signature
PageSwitchDataReturns: Return type: NXOpen.UIStyler.PageSwitchDataNew in version NX5.0.0.
License requirements: None.
Sensitivity¶
-
TabControl.Sensitivity¶ Returns or sets the sensitivity of the dialog item
-------------------------------------Getter Method
Signature
SensitivityReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SensitivityParameters: type (bool) – TRUE if sensitive, FALSE if insensitive New in version NX5.0.0.
License requirements: None.
Visibility¶
-
TabControl.Visibility¶ Returns or sets the visibility of the dialog item
-------------------------------------Getter Method
Signature
VisibilityReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VisibilityParameters: type (bool) – TRUE if visible, FALSE if invisible New in version NX5.0.0.
License requirements: None.
Method Detail¶
AddSwitchHandler¶
-
TabControl.AddSwitchHandler¶ Registers switch callback.
This method should be called before calling
UIStyler.Dialog.Show()orUIStyler.Dialog.RegisterWithUiMenu()Signature
AddSwitchHandler(switchevent, isDialogLaunchingEvent)Parameters: - switchevent (CallableObject) –
- isDialogLaunchingEvent (bool) –
New in version NX5.0.0.
License requirements: None.