Default Usage
IRE Default Usage Dialog provides five tabs: Paths,
Extensions, Options, Symbols,
and Mouse.
- Paths
- The Paths tab sets the path for storing
pre-designed windows or dialogs when using the Save
design menu item in the File pull-down menu.
Additional entry fields allow you to locate
your OS/2 and Microsoft Windows headers. You would use these
paths to dynamically set the INCLUDE= environment when the
include path has not been formally defined within your
environment.
You also can set the manner in which the IRE
references paths to resources such as icons, bitmaps, etc. The Fixed
check box constructs the full path to the file being
referenced. This includes the drive designation and
sub-directories. The Relative check box uses the path/file
as entered or selected. This allows for easier movement of files
from one system or drive to another. The Locate Paths
push button will display the Locate Path Dialog.
- Extensions
- The Extensions tab sets the extensions for
the include, resource script and binary files. You can
define the default extensions for:
- OS/2 1.x
- OS/2 2.x
- Windows 3.1
- Windows NT
- Options
- The Options tab allows you to set various
behaviour options for IRE like user mode, source files
spacing and margins. The Margins area is
used to set the left, right, top, and bottom margins of
the buttons when they are arranged. The Control
spacing area is used as the value between
controls when they are spaced. The Grid values
area contains the grid spacing that will be displayed.
Selecting the Snap to grid option causes
the controls to snap to the grid points when created or
moved. Finally, the Push button spacing
area contains the spacing that should occur between the
buttons when they are arranged.
-
- The auto sizing options sets auto sizing
when the target display type is used to size the control.
For example, if you are working on a system that is 1024
x 768, the controls you are using will probably be
clipped on a VGA (640 x 480) system if the limits to the
control are based on the text that is shown within the
control. By selecting this option, the auto sizing within
the Alignment dialog's Sizing
tab will target the font metrics of the target VGA
instead of using the font metrics of the 1024 x 768. This
will help to ensure that the control is not clipped when
displayed on the VGA system.
You can also specify the time frequency for the
auto-saving of the design information through the Frequency
spin-field. The display of the startup dialog is specified
through the Display initial action dialog check box. The Radix
group sets the display radix of the ID values to either Decimal
or Hexadecimal.
The Clear entry fields sets options for
handling the entry fields within dialogs when an entry is added
or changed. The On add check box clears the entry fields
after adding an item. The On change check box clears the
entry fields after you have changed an item.
- Symbols
- The Symbol Generation Options tab sets the
prefix values for control symbols, the automatic symbol
generation options and duplicate checking.
The dialog contains various entry fields for
setting the prefixes for control symbols. Each of the controls
has been given a default prefix (i.e. Push Button: PB_).
Labeling options:
- Auto Generate generates
the symbols automatically
- Use Prefix uses the
defined prefix for the control when automatic generation
is allowed
- Check duplicates checks
for duplicate IDs in the same window or dialog box
- Mouse
- The Mouse Usage tab defines how you want
to use the mouse when interacting with controls and
windows within a displayed window or dialog. You can set
the mouse/keyboard combination for the following actions:
- Select control
- Add/Subtract group item
- Move group
- Rubber band select
- Set group anchor
- Select styles dialog
- Show info
There are Cancel and Set buttons along
the bottom of the dialog box.