8.0;idf (icon_default) *DM*, revision 8.0, 84/03/11
IDF (ICON_DEFAULT) -- Set the icon default positioning and offset.
usage: idf
FORMAT
IDF
The IDF command is used to set the position of an icon on your screen, to
determine where the following icons will be positioned (the offset), and to
specifiy the icon shift vector when the icon allocation begins to use
positions already in use by other icons. Each time you issue the IDF command
you reset the position where any subsequent icons appear.
By default, icons appear in a horizontal line along the top of portrait
displays, and in a vertical line along the right side of landscape displays.
The default offset is set at the width of one icon (60 bits) horizontally or
vertically, depending on the display. You can use IDF to change this default
positioning and offset, to establish the position of an icon created in a
script, or to set your personal icon positioning and offset in a DM startup
script (STARTUP_DM). The IDF command can be used in the following ways:
- Move the cursor to the new default icon position. Issue the IDF
command.
This operation sets the first icon position; the offset of the next
icon will be 0,0 (bits) and the shift vector will be 0,0 (bits).
Therefore, all subsequent icons will appear on top of one another at
the first icon position.
- Move the cursor to the new default icon position. Use the <MARK>
key or issue the DR command to mark the cursor position. Move the
cursor to indicate the offset for the next icon. Issue the IDF
command.
This operation sets the first icon position and next icon offset.
The shift vector is 0,0 (bits). Therefore, when icons need to use
already used positions, the DM places new icons directly on top of
pre-existing icons.
- Move the cursor to the new default icon position. Use the <MARK>
key or issue the DR command to mark the cursor position. Move the
cursor to indicate the offset for the next icon and once again issue
a <MARK> or DR command. Then move the cursor again in order to set
the shift vector for reused icon positions.
This operation sets the first icon position and the next icon
offset. It also establishes a shift vector so that icons will not
appear directly on top of one another if the DM needs to place New
icons over pre-existing ones.
- Specify the icon position, offset, and shift explicitly in a command
line. The format is as follows:
(initial_xy_position)DR;(next_xy_position)DR;(shift_xy_position);IDF
For example, the command line:
Command: (800,10) DR; (850,60) DR; (820,10); IDF
places the upper left corner of the first icon at bit position
(800,10), sets the icon offset vector to (50,50) (found by
subtracting the 'initial' from the 'next' bit positions), and sets
the shift vector to (20,0) (found by subtracting the 'initial' from
the 'shift' bit positions). The next icon would, therefore, appear
at bit positions (850,60), the next at (900,110) etc... If an icon
must be placed on top of the first icon, then it will be positioned
at (820,10), the next at (870,60), etc..
The IDF command requires no arguments or options.
RELATED TOPICS
More information is available. Type:
- HELP ICON
for more information on icons.