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)
Sets for an individual folder whether it will respond to folder hotkeys. This setting corresponds to the one on the "View" page in a folder's properties notebook. YES or NO will set this setting for this folder no matter what was specified in the global settings, while DEFAULT will set this setting to the global value.

ALWAYSSORT={YES|NO|DEFAULT}
Sets for an individual folder whether it will always maintain its sort order. Opening and adding an object to a folder may take longer if the sort order is being maintained. Note that the 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
This sets the folder background, where:

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)
This will set the default sort criterion for an individual folder to something different from the global sort criterion. 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
Sets the default open view to what was specified in the "Workplace Shell" object. This is the default value.

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}
Sets the default open view to the specified folder view.

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
This sets the object class for which the details are displayed in details view. The default object class is WPFileSystem. You better not mess with this one.

DETAILSFONT=size.facename
Change the font used for a details view. For example: 9.WarpSans Bold. The default value is 8.Helv (on Warp 3)

DETAILSSHADOWCOLOR=color (&warp4; and higher only)
Text color for a shadow object in the Details View. 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)
Text color for normal objects in the Details View. color may may be standard color name or an r g b set of numbers (for red, green, blue values).

DETAILSVIEW=style
This set details view to the specified style. Possible values are:
MINI small icon; this is the default.
NORMAL normal-size icon.

FAVORITEFOLDER={YES|NO} (&xwp; only)
Sets for an individual folder whether its contents can be viewed from all &popmenu;s on your system. This setting corresponds to the one on the "View" page in the folder's properties notebook. Default is NO. There is no global value for this setting.

FULLPATH={YES|NO|DEFAULT} (&xwp; only)
Sets for an individual folder whether its full path will be displayed in its window title. This setting corresponds to the one on the "View" page in the folder's properties notebook. YES or NO will set this setting for this folder no matter what was specified in the global settings, while DEFAULT will set this setting to the global value.

ICONFONT=size.facename
Setup string used to change the font used for an icon view. For example: 10.Helv

ICONNFILE=index,filename
This sets the file name of the animation (open folder) icon. The index value must be set to 1. The specified file (".ICO") contains the folder's open folder icon.

ICONNRESOURCE=index,id,dllfile
Sets the animation (open folder) icon to data residing in a resource file. The 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)
Text color for shadow icons in the Icons View. 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)
Background color for normal text in the Icons, Tree and Details View. 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)
Text color for normal icons in the Icons View. color may be a standard color name or an r g b set of numbers (for red, green, blue values).

ICONTEXTVISIBLE={YES|NO}
The names of objects contained in a folder are displayed or not displayed in the Icon View.

ICONVIEW=style1[,style2...]
This sets icon view to the specified styles. Possible values are: FLOWED NOGRID INVISIBLE NONFLOWED MINI NORMAL
The default value is NOGRID,NORMAL
These settings correspond to the "Icon view" page in a folder's properties notebook.

ICONVIEWPOS=x,y,cx,cy
This sets the initial icon view position and size of the folder on the screen. These values are percentages (0-100) of the screen size.

MENUBAR={YES|NO} (&warp4; and higher only)
The menubar of the folder is displayed or not displayed.

QUICKOPEN={YES|NO|IMMEDIATE} (&xwp; only)
Sets for an individual folder whether it will be pre-populated on Desktop startup. This setting corresponds to the one on the "View" page in the folder's properties notebook. YES or NO will set this setting for this folder. Default is NO. There is no global value for this setting.

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}
This can remove all instance fonts from the folder, i.e. the ones that apply to this folder only (specified by the respective object settings strings or in the folder properties notebook). Default is NO.
This is not really a "setting", but rather a command to be performed on the folder.

SHOWALLINTREEVIEW={YES|NO} (&warp4; and higher only)
Show all objects in an open Tree View or only folders.

SNAPTOGRID={YES|NO|DEFAULT|EXEC} (&xwp; only)
Sets for an individual folder whether the "Snap to grid" item will appear in the folder's &popmenu;. This setting corresponds to the one on the "View" page in the folder's properties notebook. YES or NO will set this setting for this folder no matter what was specified in the global settings, while DEFAULT will set this setting to the global value. EXEC will execute the "Snap to grid" function on the folder, just as if you had selected it from the &popmenu;. EXEC is thus no setting, but a command to be performed on a folder.

SORTCLASS=classname
This sets the class object to sort by. The default class object is WPFileSystem.

SORTFOLDERSFIRST={YES|NO|DEFAULT} (&xwp; only)
Sets for an individual folder whether folders will always be sorted in first. This setting corresponds to the one on the "Sort" page in the folder's properties notebook. YES or NO will set this setting for this folder no matter what was specified in the global settings, while DEFAULT will set this setting to the global value.

SORTNOW=crit (&xwp; only)
This will sort all currently open views of an individual folder without changing a folder's setting (as opposed to 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)
Sets the visibility state for an individual folder status bar. This setting corresponds to the one on the "View" page in the folder's properties notebook. YES or NO will set this setting for this folder no matter what was specified in the global settings, while DEFAULT will set this setting to the global value.

TREEFONT=size.facename
Setup string used to change the font used for an Tree view. For example: 10.Helv

TREESHADOWCOLOR=color (&warp4; and higher only)
Text color for shadow icons in the Tree View. 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)
Text color for normal icons in the Tree View. 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)
The names of the objects contained in a folder are displayed or not dispalyed in Tree View.

TREEVIEW=style1[,style2...]
This sets the tree view to the specified styles. Possible values are: INVISIBLE LINES MINI NOLINES NORMAL
The default value is LINES, NORMAL
These settings correspond to the "Tree view" page in a folder's properties notebook.

WORKAREA={YES|NO}
This sets the folder so it is a workarea. Default is NO.