NX Open C++ Reference Guide
|
Represents a Tab Control for UI Styler. More...
Public Types | |
typedef NXOpen::Callback1 < NXOpen::UIStyler::DialogState, NXOpen::UIStyler::StylerEvent * > | SwitchHandler |
Called when a user switches tabs. | |
Public Member Functions | |
void | AddSwitchHandler (const NXOpen::UIStyler::TabControl::SwitchHandler &switchevent, bool isDialogLaunchingEvent) |
Registers switch callback. | |
NXOpen::UIStyler::PageSwitchData * | PageSwitchData () |
Returns the page switch data Created in NX5.0.0. | |
bool | Sensitivity () |
Returns the sensitivity of the dialog item Created in NX5.0.0. | |
void | SetFocus () |
Sets focus Created in NX5.0.0. | |
void | SetSensitivity (bool type) |
Sets the sensitivity of the dialog item Created in NX5.0.0. | |
void | SetVisibility (bool type) |
Sets the visibility of the dialog item Created in NX5.0.0. | |
bool | Visibility () |
Returns the visibility of the dialog item Created in NX5.0.0. |
typedef NXOpen::Callback1<NXOpen::UIStyler::DialogState, NXOpen::UIStyler::StylerEvent *> NXOpen::UIStyler::TabControl::SwitchHandler |
Called when a user switches tabs.
Created in NX5.0.0.
License requirements : None
void NXOpen::UIStyler::TabControl::AddSwitchHandler | ( | const NXOpen::UIStyler::TabControl::SwitchHandler & | switchevent, |
bool | isDialogLaunchingEvent | ||
) |
Registers switch callback.
This method should be called before calling UIStyler::Dialog::Show or UIStyler::Dialog::RegisterWithUiMenu
Created in NX5.0.0.
License requirements : None
switchevent | switchevent |
isDialogLaunchingEvent | is dialog launching event |
Returns the page switch data
Created in NX5.0.0.
License requirements : None
Returns the sensitivity of the dialog item
Created in NX5.0.0.
License requirements : None
Sets focus
Created in NX5.0.0.
License requirements : None
void NXOpen::UIStyler::TabControl::SetSensitivity | ( | bool | type | ) |
Sets the sensitivity of the dialog item
Created in NX5.0.0.
License requirements : None
type | TRUE if sensitive, FALSE if insensitive |
void NXOpen::UIStyler::TabControl::SetVisibility | ( | bool | type | ) |
Sets the visibility of the dialog item
Created in NX5.0.0.
License requirements : None
type | TRUE if visible, FALSE if invisible |
Returns the visibility of the dialog item
Created in NX5.0.0.
License requirements : None