Toolbar Setup Strings

The Toolbar is highly customizable. You can use the following setup strings to customize the Toolbar:

┌──────────────┬─────────────────────┬─────────────────────────┐
│Keyname       │Value                │Description              │
├──────────────┼─────────────────────┼─────────────────────────┤
│DRAWEROBJECTS │A drawer number      │Adds the objects to the  │
│              │followed by a comma  │end of the numbered      │
│              │delimited set of     │Toolbar drawer:          │
│              │object IDs or path   │0=Toolbar, 1=left-most   │
│              │and file names.      │drawer, etc.             │
│              │Separate the drawer  │                         │
│              │number and the first │                         │
│              │object with a comma. │                         │
├──────────────┼─────────────────────┼─────────────────────────┤
│FPOBJECTS     │A comma-delimited set│Adds the objects to the  │
│              │of object IDs or path│end of the Toolbar.      │
│              │and file names.      │                         │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPACTIONSTYLE │MINI                 │Displays the action      │
│              │                     │buttons as mini-icons.   │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NORMAL               │Displays the action      │
│              │                     │buttons as normal or     │
│              │                     │large icons.             │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │OFF                  │Turns off the display of │
│              │                     │action buttons.          │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │TEXT                 │Displays the actions     │
│              │                     │buttons as text. This is │
│              │                     │the default.             │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPCLOSEDRAWER │YES                  │Closes the Toolbar       │
│              │                     │drawers after opening an │
│              │                     │object.                  │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NO                   │Leaves the Toolbar       │
│              │                     │drawers open after       │
│              │                     │opening an object.       │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPDRAWERTEXT  │YES                  │Displays titles of       │
│              │                     │objects located in       │
│              │                     │drawers. This has no     │
│              │                     │effect on objects located│
│              │                     │on the Toolbar.          │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NO                   │Hides titles of objects  │
│              │                     │located in drawers. This │
│              │                     │has no effect on objects │
│              │                     │located on the Toolbar.  │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPFLOAT       │YES                  │Keeps the Toolbar        │
│              │                     │floating on top of all   │
│              │                     │other windows.           │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NO                   │Does not keep the Toolbar│
│              │                     │floating on top of all   │
│              │                     │other windows.           │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPHIDECTLS    │YES                  │Hides the frame controls │
│              │                     │(title bar and system    │
│              │                     │menu). This is the       │
│              │                     │default.                 │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NO                   │Displays the frame       │
│              │                     │controls (title bar and  │
│              │                     │system menu).            │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPSMALLICONS  │YES                  │Displays objects using   │
│              │                     │small icons.             │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NO                   │Display objects using    │
│              │                     │large icons.             │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPTEXT        │YES                  │Displays titles of       │
│              │                     │objects located on the   │
│              │                     │Toolbar. This has no     │
│              │                     │effect on objects located│
│              │                     │in drawers.              │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NO                   │Hides titles of objects  │
│              │                     │located on the Toolbar.  │
│              │                     │This has no effect on    │
│              │                     │objects located in       │
│              │                     │drawers.                 │
├──────────────┼─────────────────────┼─────────────────────────┤
│LPVERTICAL    │YES                  │Displays the Toolbar     │
│              │                     │vertically.              │
├──────────────┼─────────────────────┼─────────────────────────┤
│              │NO                   │Displays the Toolbar     │
│              │                     │horizontally. This is the│
│              │                     │default.                 │
└──────────────┴─────────────────────┴─────────────────────────┘

These keynames can be used with the following Win and REXX functions:

The following example adds two objects to the first drawer of the Toolbar:

SysSetObjectData("<WP_LAUNCHPAD>",                 "DRAWEROBJECTS=1,C:\README.TXT,<WP_MINDEX>")

The following example causes the Toolbar to float on top:

SysSetObjectData("<WP_LAUNCHPAD>", "LPFLOAT=YES")


[Back: About Toolbars]
[Next: Toolbar Set Methods]