Skip to reading
Panels, Tabs & List Boxes

9. Keep page behavior predictable

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

In the running game, switching tabs changes which linked page is visible. The hidden pages are still part of the interface. A clue selection can remain selected when you leave Clues and come back during the same run.

Source table from 9. Keep page behavior predictable, page 16
What to testExpected result
Click each tabOnly that tab’s page content is shown inside the panel.
Close the notebookThe host and its embedded pages disappear together.
Open the notebook againThe same widget instances can retain their current state.
Restart the game previewRuntime-only changes begin again from authored data and startup logic.
Resize the GUI or change tab font sizeNo labels, dropdowns or buttons are clipped below the tab strip.

If you need the notebook to reopen at a particular page every time, test that requirement separately. The typed Editor Active Tab field is an initial authoring setting. This build does not provide a dedicated shared Set Active Tab action that this guide can recommend for safely switching an already embedded page at runtime.

Avoid changing the host panel’s tab properties through the general Change GUI Element Property action during play. Rebuilding an embedded host can disturb its attached content. Use the visible tab buttons for navigation in this workflow. Ordinary panel appearance changes are covered later.

Do not hide linked pages with unrelated page-level show/hide actions. Keep notebook opening and closing on the host so the tab system stays in charge of its own pages.

Page 16 of 50Permalink
Go to page