4.1.1.4.11 Accessing the Tabs of a Tabbed Dialog with Origin C

The Tabs example demonstrates how to access the tabs of a tabbed dialog in a Dialog Builder resource. To access the tabs in the Tabs dialog below the example program uses the Origin C Dialog, PropertySheet, and PropertyPage classes. The example dialog is launched by executing the function Tabs in the source file Tabs.cpp found in this zip file, under the \Dialog Builder\Tabs subfolder.

Accessing the Tabs of a Tabbed Dialog with Origin C image146.gif

To launch the Tabs dialog above:

  1. Open the source file Tabs.cpp in Code Builder.
  2. Add Tabs.cpp to the Code Builder workspace by activating it and pressing the CTRL + W keys.
  3. Build Tabs.cpp by clicking the Build button Accessing the Tabs of a Tabbed Dialog with Origin C image12.gif.
  4. Type Tabs() in the Script Window or LabTalk Console and press the ENTER key.