This is an object which allows you to select a directory in a directory
select window. However, as there is no special method to have a window type
of object, it is implemented as a keypress object. If the associated key is
pressed, the window is activated, but you can also explicitly active the
window. (Note that if you don't attach a keypress to the dirselect object
(which is done with the PW('KEYPRESS')
tag), the window can't
be activated with a keypress).
A directory select window consists of an edline where the directory can be edited directly, a list of devices and a menu which contains both the subdirectories to the current directory, and possibly some directories which have been configured because they are often used.
The devices which are displayed are the devices which have been configured
as being the accessible (or most used) devices on your system (using
DIRSELECT-DEVICE
). The often used directories can be
configured using DIRSELECT-DIRECTORY
).
The directory which should be used as default in the dirselect window
can be set explicitly (it defaults to "", which is converted to the data
default (as set with DATA_USE
) when the window is activated).
The title of the window can also be set.
The Type Word
When creating this type of object, the type parameter is:
PW('TYPE_DIRSELECT')
The tags
Here are the tags for this object. As usual, change tags are also used when
creating the object.