NX Open C++ Reference Guide
|
Represents a Tab Control layout
Created in NX8.5.0.
More...
Public Member Functions | |
int | ActivePage () |
Returns the ActivePage Created in NX8.5.0. More... | |
std::vector< int > | GetHiddenTabPages () |
Gets the HiddenTabPages. More... | |
bool | HighQualityBitmap () |
Returns the HighQualityBitmap Created in NX8.5.0. More... | |
bool | Localize () |
Returns the Localize Created in NX8.5.0. More... | |
NXOpen::BlockStyler::PropertyList * | Members () |
Returns the Members Created in NX8.5.0. More... | |
bool | RetainValue () |
Returns the RetainValue Created in NX8.5.0. More... | |
void | SetActivePage (int pageIndex) |
Sets the ActivePage Created in NX8.5.0. More... | |
void | SetHiddenTabPages (const std::vector< int > &hiddenTabs) |
Sets the HiddenTabPages entered. More... | |
void | SetHighQualityBitmap (bool highQuality) |
Sets the HighQualityBitmap Created in NX8.5.0. More... | |
void | SetLocalize (bool localize) |
Sets the Localize Created in NX8.5.0. More... | |
void | SetRetainValue (bool retain) |
Sets the RetainValue Created in NX8.5.0. More... | |
void | SetTabsPerRow (int numTabs) |
Sets the TabsPerRow Created in NX8.5.0. More... | |
int | TabsPerRow () |
Returns the TabsPerRow Created in NX8.5.0. More... | |
Public Member Functions inherited from NXOpen::BlockStyler::UIBlock | |
bool | Enable () |
Returns the Enable. More... | |
bool | Expanded () |
Returns the Expanded Created in NX8.5.0. More... | |
void | Focus () |
Focuses on the block. More... | |
NXOpen::BlockStyler::PropertyList * | GetProperties () |
Returns the properties of the block. More... | |
bool | Group () |
Returns the Group Created in NX8.5.0. More... | |
NXString | Label () |
Returns the Label Created in NX8.5.0. More... | |
NXString | Name () |
Returns the name of the block or BlockID Created in NX6.0.0. More... | |
void | SetEnable (bool enable) |
Sets the Enable. More... | |
void | SetExpanded (bool expanded) |
Sets the Expanded Created in NX8.5.0. More... | |
void | SetGroup (bool group) |
Sets the Group Created in NX8.5.0. More... | |
void | SetLabel (const NXString &label) |
Sets the Label Created in NX8.5.0. More... | |
void | SetLabel (const char *label) |
Sets the Label Created in NX8.5.0. More... | |
void | SetShow (bool show) |
Sets the Visibility of block. More... | |
bool | Show () |
Returns the Visibility of block. More... | |
NXString | Type () |
Returns the type of block Created in NX6.0.0. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a Tab Control layout
Created in NX8.5.0.
int NXOpen::BlockStyler::TabControl::ActivePage | ( | ) |
Returns the ActivePage
Created in NX8.5.0.
License requirements : None
std::vector<int> NXOpen::BlockStyler::TabControl::GetHiddenTabPages | ( | ) |
Gets the HiddenTabPages.
This method returns an integer array of the HiddenTabPages. If the number of Tab Pages defined is 5 for a Tab Control, they will be indexed 0 to 4. If the first and third Tab Pages are hidden, the result returned will be [ 0, -1, 2, -1, -1 ]. Any negative integer value will show the Tab Page, using -1 simply to demonstrate.
bool NXOpen::BlockStyler::TabControl::HighQualityBitmap | ( | ) |
Returns the HighQualityBitmap
Created in NX8.5.0.
License requirements : None
bool NXOpen::BlockStyler::TabControl::Localize | ( | ) |
Returns the Localize
Created in NX8.5.0.
License requirements : None
NXOpen::BlockStyler::PropertyList* NXOpen::BlockStyler::TabControl::Members | ( | ) |
Returns the Members
Created in NX8.5.0.
License requirements : None
bool NXOpen::BlockStyler::TabControl::RetainValue | ( | ) |
Returns the RetainValue
Created in NX8.5.0.
License requirements : None
void NXOpen::BlockStyler::TabControl::SetActivePage | ( | int | pageIndex | ) |
Sets the ActivePage
Created in NX8.5.0.
License requirements : None
pageIndex | pageindex |
void NXOpen::BlockStyler::TabControl::SetHiddenTabPages | ( | const std::vector< int > & | hiddenTabs | ) |
Sets the HiddenTabPages entered.
If the number of Tab Pages defined is 5 for a Tab Control, they will be indexed 0 to 4. Entering an array of [ 0, -1, 2, -1, -1 ] will result in the first and third Tab Pages being hidden. Any negative integer value will show the Tab Page, using -1 simply to demonstrate.
Created in NX10.0.1.
License requirements : None
hiddenTabs | Array of Tab Pages defined. To hide a Tab Page, value entered has to map directly to the index being set. |
void NXOpen::BlockStyler::TabControl::SetHighQualityBitmap | ( | bool | highQuality | ) |
Sets the HighQualityBitmap
Created in NX8.5.0.
License requirements : None
highQuality | highquality |
void NXOpen::BlockStyler::TabControl::SetLocalize | ( | bool | localize | ) |
Sets the Localize
Created in NX8.5.0.
License requirements : None
localize | localize |
void NXOpen::BlockStyler::TabControl::SetRetainValue | ( | bool | retain | ) |
Sets the RetainValue
Created in NX8.5.0.
License requirements : None
retain | retain |
void NXOpen::BlockStyler::TabControl::SetTabsPerRow | ( | int | numTabs | ) |
Sets the TabsPerRow
Created in NX8.5.0.
License requirements : None
numTabs | numtabs |
int NXOpen::BlockStyler::TabControl::TabsPerRow | ( | ) |
Returns the TabsPerRow
Created in NX8.5.0.
License requirements : None