Jump to content

SmartCenter: Difference between revisions

From EDM2
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
(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.


==Class definition file==
;Default Title: "Toolbar"
 
;DLL: SCENTER.DLL
==DLL==
;Class definition file


==Class hierarchy SOMObject==
==Class hierarchy SOMObject==
* WPObject
* WPObject
** WPAbstract
** WPAbstract
*** WPLaunchaPad
*** WPLaunchPad
**** '''SmartCenter'''  
**** '''SmartCenter'''


==Instance methods==
==Instance methods==
* [[QueryEnableState]]
*QueryEnableState
* [[SetEnabledState]]
*SetEnabledState
* [[wcPosition]]
*wcPosition
* [[wcSetPosition]]
*wcSetPosition
* [[wclsEnabled]]
*wclsEnabled
* [[wcEnable]]
*wcEnable
* [[wcAlwaysOnTop]]
*wcAlwaysOnTop
 
==SOMObject instance methods==
 
 
==WPObject instance methods==
 
 
==Class methods==
 
==WPObject class methods==
 
 


==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.
|}


The new WarpCenter in WARP 4 supports the following setup strings:
[[Category:WPS Classes]]
 
  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: The OS/2 API Project]]

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

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:

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.