WPFolder
is the WPS class for all folders
(see WPS classes for details).
In addition to the settings strings
recognized by the WPObject
class,
WPFolder
recognizes the following strings:
ACCELERATORS={YES|NO|DEFAULT}
(&xwp; only)
ALWAYSSORT={YES|NO|DEFAULT}
DEFAULT
option is only available with &xwp;,
which will reset the setting to what you specified on the "Sort" page in the
"Workplace Shell" object.
BACKGROUND=name,mode,factor,bgtype,bgcol
name
= Image file name. This
name must be the fully qualified
path
of the image file. "?:\" is
permitted to indicate the
boot drive.
mode
= Image mode. This mode can
be one of the following:
N
= Normal image
T
= Tiled image
S
= Scaled image
factor
= Scaling factor.
bgtype
= Background type. This can
be one of the following:
I
= Image
C
= Color only
bgcol
= Background color. This
color can be 3 numbers representing RGB values, separated
by spaces (r g b
, for red, green, and blue values).
Example:
BACKGROUND=C:\OS2\BITMAP\OS2LOGO.BMP,S,3,I
or
BACKGROUND=(none),,,C,0 128 128
DEFAULTSORT=crit
(&xwp; only)
crit
may be one of the following:
-1
sort by type
-2
sort by name
-3
sort by object class
-4
sort by file name extension
255
reset to global default sort criterion
Note that depending on the folder sort class, values between 0 and 100 may also be supported. Those values correspond to the indices of object details columns in Details view and are class-specific. Experiment with with the setup string values reported in a folder's properties notebook.
DEFAULTVIEW=DEFAULT
Note that DEFAULTVIEW
is really a
WPObject setup string, but the
meaning of the view setting is only meaningful for WPObject subclasses,
such as WPFolder.
DEFAULTVIEW={SETTINGS|ICON|TREE|DETAILS}
Note that DEFAULTVIEW
is really a
WPObject setup string, but the
meaning of the view setting is only meaningful for WPObject subclasses,
such as WPFolder.
DETAILSCLASS=classname
DETAILSFONT=size.facename
9.WarpSans Bold
.
The default value is 8.Helv
(on Warp 3)
DETAILSSHADOWCOLOR=color
(&warp4; and higher only)
color
may
be standard color name or an
r g b
set of numbers (for red, green, blue values).
DETAILSTEXTCOLOR=color
(&warp4; and higher only)
color
may
may be standard color name or an
r g b
set of numbers (for red, green, blue values).
DETAILSVIEW=style
MINI
small icon; this is the default.
NORMAL
normal-size icon.
FAVORITEFOLDER={YES|NO}
(&xwp; only)
FULLPATH={YES|NO|DEFAULT}
(&xwp; only)
ICONFONT=size.facename
10.Helv
ICONNFILE=index,filename
index
value must be set
to 1. The specified file (".ICO")
contains the folder's open
folder icon.
ICONNRESOURCE=index,id,dllfile
index
value must be set
to 1. The id
is the identity
of an icon resource in the
DLL
dllfile
.
The specified resource is the folder's open folder icon.
ICONSHADOWCOLOR=color
(&warp4; and higher only)
color
may
be a standard color name or an
r g b
set of numbers (for red, green, blue values).
ICONTEXTBACKGROUNDCOLOR=color
(&warp4; and higher only)
color
may be a standard color name or an
r g b
set of numbers (for red, green, blue values).
ICONTEXTCOLOR=color
(&warp4; and higher only)
color
may be a
standard color name or an
r g b
set of numbers (for red, green, blue values).
ICONTEXTVISIBLE={YES|NO}
ICONVIEW=style1[,style2...]
FLOWED NOGRID INVISIBLE NONFLOWED MINI NORMAL
NOGRID,NORMAL
ICONVIEWPOS=x,y,cx,cy
MENUBAR={YES|NO}
(&warp4; and higher only)
QUICKOPEN={YES|NO|IMMEDIATE}
(&xwp; only)
As a special command, QUICKOPEN=IMMEDIATE
will populate the folder
immediately. This can be used in a
REXX
script to force population of a folder without
having to open it. As a result, QUICKOPEN=IMMEDIATE
is no setting, but
rather a command to be performed on a folder.
REMOVEFONTS={YES|NO}
NO
.
SHOWALLINTREEVIEW={YES|NO}
(&warp4; and higher only)
SNAPTOGRID={YES|NO|DEFAULT|EXEC}
(&xwp; only)
SORTCLASS=classname
SORTFOLDERSFIRST={YES|NO|DEFAULT}
(&xwp; only)
SORTNOW=crit
(&xwp; only)
DEFAULTSORT
). This is not really a
"setting", but rather a command to be performed on a folder.
crit
has the same meaning as with DEFAULTSORT
.
STATUSBAR={YES|NO|DEFAULT}
(&xwp; only)
TREEFONT=size.facename
10.Helv
TREESHADOWCOLOR=color
(&warp4; and higher only)
color
may be a
standard color name or an
r g b
set of numbers (for red, green, blue values).
TREETEXTCOLOR=color
(&warp4; and higher only)
color
may be a
standard color name or an
r g b
set of numbers (for red, green, blue values).
TREETEXTVISIBLE={YES|NO}
(&warp4; and higher only)
TREEVIEW=style1[,style2...]
INVISIBLE LINES MINI NOLINES NORMAL
LINES, NORMAL
WORKAREA={YES|NO}
NO
.