home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / MAKEOB.ZIP / MAKEOBJ.DOC < prev    next >
Text File  |  1993-02-25  |  3KB  |  78 lines

  1. MakeObject Utility                                             F. Paul Ballard
  2. Version 1.0                                                     (716) 425-3471
  3.                                                           Compuserve: 70514,24
  4. ==============================================================================
  5.  
  6.     This application is used for adding, editting, hiding, and showing
  7. objects.  The object parameters are stored in *.ODF files.  The syntax for
  8. the utility is:
  9.  
  10.                [C:\]MAKEOBJ  ADD   OBJECT.ODF
  11.                              EDIT
  12.                              HIDE
  13.                              SHOW
  14.  
  15.         NOTE:  This utility will not work with existing objects unless they
  16.                have a unique OBJECTID parameter (and you can find out what
  17.                it is).  
  18.  
  19.    The format for the .ODF file is as follows:
  20.  
  21.                        CLASSNAME:ClassName
  22.                        TITLE:Title
  23.                        LOCATION:Location
  24.                        SETUP:SetupString
  25.  
  26.    ClassName can be any of the Workplace Object Classes (pg. 9-2 Presentation
  27.    Manager Programming Reference Vol II).  For Example: "WPProgram",
  28.    "WPDataFile", or "WPFolder".
  29.  
  30.    Title is any developer defined string to act as the Title to be displayed
  31.    with the icon or in the object's title bar.
  32.  
  33.    Location can be either a real name specified as a fully qualified path 
  34.    name OR a predefined system folder.  For Example: "<WP_DESKTOP>", 
  35.    "<WP_START>", "D:\NewObject".
  36.  
  37.    SetupString is a string of "Keyname=value" pairs concatenated together with
  38.    commas or semicolons.  Most of these are listed in pgs 9-229 thru 9-231 of
  39.    the Presentation Manager Programming Reference Vol II).  The most common
  40.    are listed below:
  41.  
  42.                 TITLE           =       string
  43.                 ICONFILE        =       filename
  44.                 TEMPLATE        =       YES/NO
  45.                 NODELETE        =       YES/NO
  46.                 NOCOPY          =       YES/NO
  47.                 NOMOVE          =       YES/NO
  48.                 NOSHADOW        =       YES/NO
  49.                 NOTVISIBLE      =       YES/NO  
  50.                 NOPRINT         =       YES/NO
  51.                 OBJECTID        =       <string>
  52.                 OPEN            =       SETTINGS/DEFAULT
  53.  
  54.         NOTE:  Do not use NOTVISIBLE keyname (Will conflict with HIDE and
  55.                SHOW Actions)
  56.                ALWAYS use OBJECTID keyname, otherwise the application won't 
  57.                be able to reference your object later.
  58.  
  59.  
  60.    There are also "Keyname=value" pairs used only by WPProgram objects.  Some
  61.    of these are:
  62.  
  63.                 ASSOCFILTER     =       string
  64.                 ASSOCTYPE       =       string
  65.                 EXENAME         =       filename
  66.                 PARAMETERS      =       string
  67.                 PROGTYPE        =       FULLSCREEN/PM/SEPARATEWIN/WINDOWEDWIN
  68.                                         VDM/WIN/WINDOWABLEVIO/WINDOWEDVDM/
  69.                 STARTUPDIR      =       pathname
  70.               
  71.    You should check the reference manuals for other settings available.    
  72.  
  73.    At the time of the creation of this utility I still can't for the life of
  74. me figure out how to delete an object.  If you happen to know how to do this
  75. I'd appreciate it if you dropped my a line or a call.
  76.  
  77.  
  78.