home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / wps / wsfile / wsfile.ipf < prev    next >
Text File  |  1999-05-11  |  3KB  |  72 lines

  1. .*==============================================================*\
  2. .*                                                              *
  3. .* wsfile.ipf - Information Tag Language file for the WSFILE    *
  4. .*                                                              *
  5. .*==============================================================*/
  6. :userdoc.
  7.  
  8. .*--------------------------------------------------------------*\
  9. .*  Default Help for WSFILE   class                             *
  10. .*      res = ID_HELP_DEFAULT                                   *
  11. .*--------------------------------------------------------------*/
  12. :h1 res=256 name=ID_HELP_DEFAULT.WSFILE Class -- Help
  13. :i1 id=aboutMain.About WSFILE Class
  14. :lines.
  15. This object is an instance of WSFILE Class,
  16. a subclass of WPDataFile.
  17.  
  18.  
  19. The following behaviors describe what is unique
  20. about an instance of WSFILE:
  21.  
  22.    - displays a unique icon
  23.    - displays a unique title
  24.    - displays its own unique help
  25.    - non tempatable
  26.    - adds an item to Open-> submenu to open its own
  27.      view
  28.    - sets default open behavior to its own view
  29.    - adds an item to popup menu that beeps when
  30.      pressed
  31.    - removes "Create Shadow" from popup menu
  32.    - inserts default text into data file contents
  33.      when created
  34.    - can only be dropped into folders of class
  35.      WSFOLDER
  36.    - adds page to settings notebook to allow entry
  37.      of name of last person to work on file (Last
  38.      Worker)
  39.    - updates all views of class details when Last
  40.      Worker field is modified
  41.    - defines its own setup string to Sound Alarm
  42.      when passed through the wpSetup, WinSetObjectData
  43.      and SysSetObjectData APIs
  44. :elines.
  45.  
  46.  
  47. .*--------------------------------------------------------------*\
  48. .*  Open Submenu item                                           *
  49. .*      res = ID_HELP_OPENWSFILE
  50. .*--------------------------------------------------------------*/
  51. :h1 res=257 name=ID_HELP_OPENWSFILE.Open Special File View
  52. :i1 id=Open.Special View
  53. :p.This is a special, view of a wsfile's contents.
  54.  
  55. .*--------------------------------------------------------------*\
  56. .*  Instance variable help                                      *
  57. .*      res = ID_HELP_LASTWORKER
  58. .*--------------------------------------------------------------*/
  59. :h1 res=258 name=ID_HELP_LASTWORKER.Last Worker Instance Variable
  60. :i1 id=IV1.LastWorker
  61. :p.Last worker is the name of the person to last work on this file.
  62.  
  63. .*--------------------------------------------------------------*\
  64. .*  Context Menu Item help                                      *
  65. .*      res = ID_HELP_SOUNDALARM
  66. .*--------------------------------------------------------------*/
  67. :h1 res=259 name=ID_HELP_SOUNDALARM.Sound an alarm
  68. :i1 id=IV2.SoundAlarm
  69. :p.Pressing this menu option will sound several beeps.
  70.  
  71. :euserdoc.
  72.