Adding objects to a dialog

Objects are added to a dialog by using the Object Palette Window. It provides all "native" objects contained in the current dialog file format and additional objects that are defined as templates ("models"). The available object types depend on what is supported by the dialog file format of the active dialog window. The dialog file name is included in the title bar of the Object Palette.

In general, each file format supports at least the following basic object types:

Object Description Comment
Dialog Root object
Group Box Container object
Static Text  
Edit Text  
Check Box  
Radio Button  
Push Button  

New objects can be dragged from the Object Palette into any dialog belonging to the dialog resource file indicated in the title bar of the Object Palette Window:

When you add an object to a dialog, the exact position is subject to the Grid which has been selected or is immanent for the parent object. For example, an ASCII DLG dialog type enforces positioning and sizing objects in a character raster. When using IDM DLG dialogs this can be chosen for the parent object (a character based raster is the default).

When you have added an object to the dialog, you can change its title or any of its other properties in the Object Property Window. You can display the Object Property Window by double clicking on the object.

© Copyright 1997 Hewlett-Packard GmbH. All rights reserved.
Revision: 98/02/18