LabWindows/CVI

Content Type
Programming Language
Current manual

Editing Panels in the User Interface Editor

The Panel command opens the Edit Panel dialog box, where you can set the following options:

Note Note  You also can set and edit many of the attributes in this dialog box using the Attributes Browser.
  • The Source Code Connection section of the Edit Panel dialog box has the following options:
    • Constant name—Sets the resource ID for the panel. Pass this resource ID to LoadPanel to load the panel into memory. The constant name is defined in the .h file that LabWindows/CVI generates when you save the .uir file. If you do not assign a constant name, the User Interface Editor assigns a constant name when you save the .uir file.
    • Callback function—Specifies the name of the function to call when an event is generated on the panel. Naming a callback function is optional.
  • The Panel Settings section of the Edit Panel dialog box has the following options:
    • Panel title—Sets the title of the panel.
    • Menu bar—Sets the name of the menu bar.
    • Close control—Designates which control on your panel causes the panel to close.
    • Top—Sets the barrier for the top edge of the panel, in pixels.
    • Left—Sets the barrier for the left edge of the panel, in pixels.
    • Height—Sets the barrier for the height of the panel, in pixels.
    • Width—Sets the barrier for the width of the panel, in pixels.
    • Scroll bars—Enables or disables scroll bars on the panel.
    • Auto-center vertically (when loaded)—Automatically centers the panel in the vertical center of your monitor.
    • Auto-center horizontally (when loaded)—Automatically centers the panel in the horizontal center of your monitor.
    • Other Attributes—Sets behavior and feature attributes of the panel.
  • From the Quick Edit Window, you can perform high-level edits on the panel. The tools in the toolbar operate like the tools in the main User Interface Editor window.
  • The Attributes for Child Panels section of the Edit Panel dialog box has the following options:

    • Frame style—Sets the styles of the frame in the child panel.
    • Frame thickness—Sets the frame thickness in the child panel.
    • Title bar style—Sets the title bar style in the child panel.
    • Title bar thickness—Sets the title bar thickness in the child panel.
    • Size title bar height to font—Sets the size of the title bar to match the height of the font in the title bar.
    • Title style—Sets the style of the title in the child panel.
Was this information helpful?

Log in to get a better experience

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit