Skip to reading
Panels, Tabs & List Boxes

1. The notebook we are building

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 illustrations

Figure 2. The Notes page in the running game. The title and Close button belong to the host GUI; the page content comes from another GUI.

Think of the notebook as a frame with interchangeable pages. The host GUI supplies the title, Close button and tabbed panel. Each tab points to a separate content GUI. Clicking Clues replaces the Notes content without opening a second notebook window.

Source table from 1. The notebook we are building, page 4
PartExample IDJob
Host GUIcase_notebookOpens and closes the whole notebook.
Tabbed panelnotebook_tabsDraws the tab strip and displays the chosen page.
Page GUIsnotes_page, clues_page, items_pageHold each page’s labels, lists and buttons.
Clue listclue_listDisplays rows and writes the chosen row ID to a variable.

The same arrangement works for a journal, character sheet, quest log, help screen or shop. Start with one page that works, then add more.

Page 4 of 50Permalink
Go to page