Chapter Four:

Creating DADiSP Menus and Dialog Boxes


Creating DADiSP Menus and Dialog Boxes

Invoking Menus

Using the Slash ( / ) Option

Using the MENUFILE Command

Using a Toolbar Button

Moving Around in a Menu

Creating a Custom Menu

Text and Special Characters

Including Comments and Displayed Lines

Nesting Menus

Positioning a Menu on the Screen

Using Macros to Call Menus

Creating Summary Display and Report Boxes

Dialog Boxes and Menu Panels

Anatomy of a Dialog Box Menu File

How a Dialog Box is Processed

Menus with User Input

The Input Function

Saving User Input in Variables and Macros

Setting Default Values in Dialog Boxes

Setting the Window Formula

Drop-down List Boxes

Sources for List Box Options

List Box Options as an Enumerated List

Radio Buttons in Dialog Boxes

Check Boxes in Dialog Boxes

Color Pickers in Dialog Boxes

Buttons in Dialog Boxes

Dynamically Changing a Dialog Box

Setting the Enable or Visible State

Evaluating Statements Prior to the OK Button

Positioning Controls in a Dialog Box

Dynamically Sizing a Dialog Box

Setting the Destination Window

Modeless Dialog Boxes

Child Dialog Boxes

Tabbed Dialog Boxes

Dynamically Updating Tabbed Dialog Boxes

Forms: Including SPL Code in a Dialog Box

Adding Custom Help

Related Commands

Menu File Keywords and Key Characters: A Synopsis