home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume19 / wkshTree / part01 / Help < prev    next >
Encoding:
Text File  |  1993-04-28  |  964 b   |  28 lines

  1. Help()
  2. {
  3.     cps POPUP help popupWindowShell $PANE \\\n
  4.         title:"WkshTree: Help"
  5.  
  6.     acb $POPUP popdownCallback "dw $POPUP"
  7.  
  8.     cmw CAPTION caption caption $POPUP_UCA \\\n
  9.         font:OlDefaultBoldFont \\\n
  10.         label:"Help:" 
  11.  
  12.     cmw TEXT statictext staticText $CAPTION \\\n
  13.         string:"The Help Widget is not explicitly created and manipulated by an application. The OlRegisterHelp function is used in an application to register a help file, a help string, or a help function that is displayed when the user presses the Hel key (F1).  The Help widget is a shell that contains a magnifying glass to indicate the context, and a TextEdit widget to display the help message. \n\nPosition the curser here and press F1 for help." \\\n
  14.         alignment:left \\\n
  15.         width:350 \\\n
  16.         recomputeSize:false
  17.  
  18.     cmw OK Ok flatButtons $POPUP_LCA \\\n
  19.         numItems:1 \\\n
  20.         numItemFields:1 \\\n
  21.         itemFields:'{label}' \\\n
  22.         items:'{Ok}' 
  23.         
  24.     orh $POPUP "Help Source" -f `pwd`/Help
  25.  
  26.     pu $POPUP GrabNone
  27. }
  28.