home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / AMT / Sample AMT⁄PE Code / SOURCES / oRTFPAGE_14.k < prev    next >
Encoding:
Text File  |  1996-02-28  |  816 b   |  50 lines  |  [TEXT/MPS ]

  1. object oRTFPAGE_14 is cDefaultContainer
  2. with
  3.     Binder is oBinder;
  4.     Label is -1;
  5.     Items is [
  6.         oRTFTITL_PIC_14_5,
  7.         oBTNMM_PIC_3_33,
  8.         oBTNPROD_3_46,
  9.         oBTNSUCC_3_35,
  10.         oBTNREF_3_36,
  11.         oBTNTUTR_3_37,
  12.         oBTNSAMPL_3_38,
  13.         oBTNQUIT_3_39,
  14.         oPOPUP_PIC_3_29,
  15.         oBTNABRT_PIC_3_31,
  16.         oBTNCONT_PIC_3_32
  17.     ];
  18. end;
  19.  
  20.  
  21. object oRTFTITL_PIC_14_5 is cPictureHandler
  22. with
  23.     Duration is -1;
  24.     Supplier is oRTFTITL_PIC_42_;
  25.     Behavior is cDefaultBehavior
  26.     has
  27.         Offscreen(theTarget)
  28.             do
  29.                 theTarget.Enable(true);
  30.                 theTarget.Show(true);
  31.             end;
  32.         
  33.         MouseDown(theTarget, theX, theY)
  34.             do
  35.                 theTarget.GotoEnd();
  36.             end;
  37.         
  38.         MouseUp(theTarget, theX, theY)
  39.             do
  40.                 theTarget.GoToBeginning();
  41.                 oBinder.Goto(oMMENU_2);
  42.             end;
  43.         
  44.     with
  45.         Enabled is true; Shown is true; 
  46.         X is 0; Y is 0; Width is 640; Height is 480;
  47.     end;
  48. end;
  49.  
  50.