NXKnowledge

Block UI Styler > Block Catalog > Layout

Tab Control

A Tab Control block arranges other blocks on separate, tabbed pages.

See also: Tab Page — available after you select Tab Control in the Block UI Styler; adds another tab in the Tab Control. Tab Page has no dedicated documentation page of its own (it is a sub-item created interactively under Tab Control), so its properties are managed as part of the Tab Control's Members collection.

Inherited general properties

  • BlockID
  • Enable
  • Group
  • Label
  • Show
  • Expanded

Block-specific properties

Property Name Description Access Property Type List of Values
ActivePage Sets the current page. CSG Integer Any integer value less than the number of Members.
HighQualityBitmap Specifies whether to show the current bitmap with true color (24-bit). CIG Logical TRUE — show with true color. FALSE — do not show.
Localize Allows localization of the block Label if it matches an English string in the NX localization database. CIG Logical TRUE — translate. FALSE — do not translate.
Members A list of blocks that become the pages of the Tab block. Each member can be a Group Block, which can itself contain many other blocks. For ease of use, the Block UI Styler (interactively) manages these as Tab Pages. G Array Object of type NXOpen.BlockStyler.PropertyList, an indexed list. Each block obtained via GetUIBlock(Index).
RetainValue Specifies if the last active page will be saved in dialog memory (upon OK, Apply, or Close). CSG Logical TRUE — save active page to dialog memory. FALSE — do not save.
TabsPerRow Specifies the number of rows on a Tab. This property is only applicable on Unix systems. CIG Integer Any integer value.
HiddenTabPages Lets you show or hide the tab pages. CSG Array List of index values of the defined Tab Pages. Example: if 5 Tab Pages are defined and you set the array to [0, -1, 2, -2, -1], NX hides the first and third tab page (positive index = hidden, negative index = shown). NX also hides a tab if the tab page's own Show property is set to False.

Access column legend

Character Stands for Meaning
C Creation Modifiable interactively in Block UI Styler at design time.
I Initialize Modifiable at run time via NXOpen API, but only during the Initialize callback.
G Get Readable via NXOpen API in any callback.
S Set Modifiable at run time via NXOpen API in any callback.

Related Layout blocks

Group, Table Layout, Scrolled Window, Wizard, Wizard Step.

Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.blockstyler/bs_tab_control · retrieved 2026-07-07