home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / RB3641.ZIP / EX1 / DIALOG.ST < prev    next >
Text File  |  1991-12-20  |  819b  |  34 lines

  1.  
  2.       Solutions to exercises on Dialogbox
  3.  
  4.       "To install the defined dialog boxes simply evaluate:"
  5.  
  6.         (File pathName: 'ex1\TDAbtDlg.cls') fileIn; close.
  7.  
  8.       "To install the predefined dialog boxes simply evaluate:"
  9.  
  10.        (File pathName: 'ex1\TestDlg.cls') fileIn; close.
  11.  
  12.       "To install the completed dialog boxes simply evaluate:"
  13.  
  14.        (File pathName: 'ex1\TestDlg2.cls') fileIn; close.
  15.  
  16.  
  17.      "Be careful to initialize those class's variable before open it"
  18.      "Evaluate the followings:"
  19.  
  20.        ToDoAboutDialogBox initialize.
  21.  
  22.        TestDialog initialize.
  23.  
  24.       "Open it as follows:"
  25.  
  26.        ToDoAboutDialogBox new open.
  27.  
  28.        TestDialog new open.
  29.  
  30.      "Press 'OK' button to close the dialog box."
  31.  
  32.      "******** END OF EXERCISES ***********"
  33.       
  34.