SmartCenter: Difference between revisions
Appearance
No edit summary |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
(OS/2 V4) This class implements the WarpCenter. The class name still documents that this class was largely developed by Lotus. There must only be one object of this class. | |||
;Default Title: "Toolbar" | |||
;DLL: SCENTER.DLL | |||
;Class definition file | |||
==Class hierarchy SOMObject== | ==Class hierarchy SOMObject== | ||
Line 12: | Line 12: | ||
==Instance methods== | ==Instance methods== | ||
* | *QueryEnableState | ||
* | *SetEnabledState | ||
* | *wcPosition | ||
* | *wcSetPosition | ||
* | *wclsEnabled | ||
* | *wcEnable | ||
* | *wcAlwaysOnTop | ||
==Setup strings for WarpCenter objects== | ==Setup strings for WarpCenter objects== | ||
The new WarpCenter in Warp 4 supports the following setup strings: | |||
{|class="wikitable" | |||
|+Class SmartCenter | |||
!Key Name||Value||Description | |||
|- | |||
|ADDOBJECT||object||Specifies an object to be added to the current tray. object is the persistent handle of the object. | |||
|- | |||
|ADDTOTRAY||traynumber, object[,...]||Specifies one or more objects to be added to a tray. | |||
|- | |||
|ADDTRAY||trayname[,object[,...]]||Specifies the name of a new tray to be added. A list of object handles may optionally be added to the new tray. | |||
|- | |||
|SAVENOW||YES||Specifies that the WarpCenter should save its configuration (now). | |||
Note: There is no NO value for this keyword. | |||
|} | |||
[[Category:WPS Classes]] | |||
[[Category: |
Latest revision as of 19:27, 6 July 2017
(OS/2 V4) This class implements the WarpCenter. The class name still documents that this class was largely developed by Lotus. There must only be one object of this class.
- Default Title
- "Toolbar"
- DLL
- SCENTER.DLL
- Class definition file
Class hierarchy SOMObject
- WPObject
- WPAbstract
- WPLaunchPad
- SmartCenter
- WPLaunchPad
- WPAbstract
Instance methods
- QueryEnableState
- SetEnabledState
- wcPosition
- wcSetPosition
- wclsEnabled
- wcEnable
- wcAlwaysOnTop
Setup strings for WarpCenter objects
The new WarpCenter in Warp 4 supports the following setup strings:
Key Name | Value | Description |
---|---|---|
ADDOBJECT | object | Specifies an object to be added to the current tray. object is the persistent handle of the object. |
ADDTOTRAY | traynumber, object[,...] | Specifies one or more objects to be added to a tray. |
ADDTRAY | trayname[,object[,...]] | Specifies the name of a new tray to be added. A list of object handles may optionally be added to the new tray. |
SAVENOW | YES | Specifies that the WarpCenter should save its configuration (now).
Note: There is no NO value for this keyword. |