WPFolder is the WPS class for all folders. In addition to the settings strings recognized by the WPObject class, WPFolder recognizes the following strings:
ALWAYSSORT={YES|NO}
Set whether folder sort order is always maintained. Opening and adding an object to a folder may take longer if the sort order is being maintained.

Note: XFolder overrides this setting string if you have the extended sort functions enabled. See "XFolder setup strings" for the changes with respect to this setting.

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

DEFAULTVIEW=DEFAULT
Sets the default open view to what was specified in the &os2; System 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.

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 dllfile dynamic link library (DLL). 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 settings 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.

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 Settings 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.

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

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 settings notebook.

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