home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1996 May / PCDMAY.ISO / software / clarion / cw15 / libsrc15.z / DEFAULTS.CLW < prev    next >
Encoding:
Text File  |  1995-08-18  |  1.5 KB  |  59 lines

  1. !  Default Window and Report Structures
  2. !  ====================================
  3. !
  4. !  Used by Format New Structure (Ctrl-F) in CW editor
  5. !
  6. !  You may modify these, or add new window or report types
  7. !  (NB remember to add preceeding '!!> title' line)
  8. !  It *is* safe to use the CW Editor and Screen or Report
  9. !  formatter to edit these structures
  10.  
  11.  
  12. !!> Window
  13. window WINDOW('Caption'),AT(,,260,100),GRAY
  14.        END
  15.  
  16. !!> Window with OK & Cancel
  17. window WINDOW('Caption'),AT(,,185,92),GRAY
  18.          BUTTON('OK'),AT(144,10,35,14),DEFAULT,USE(?OkButton)
  19.          BUTTON('Cancel'),AT(144,28,36,14),USE(?CancelButton)
  20.        END
  21.  
  22. !!> System Modal Window
  23. window WINDOW('Caption'),AT(,,100,100),MODAL,DOUBLE,CENTER,GRAY
  24.        END
  25.  
  26. !!> MDI Child Window
  27. window WINDOW('Caption'),AT(,,185,92),MDI,SYSTEM,RESIZE,GRAY
  28.        END
  29.  
  30. !!> MDI Parent Frame
  31. AppFrame APPLICATION('Caption'),AT(,,280,100),SYSTEM,RESIZE
  32.        END
  33.  
  34. !!> Report (portrait)
  35. report  REPORT,AT(1000,2000,6000,7000),THOUS,PRE(RPT),FONT('Arial',10)
  36.          HEADER,AT(1000,1000,6000,1000)
  37.          END
  38. detail   DETAIL
  39.          END
  40.          FOOTER,AT(1000,9000,6000,1000)
  41.          END
  42.          FORM,AT(1000,1000,6000,9000)
  43.          END
  44.        END
  45.  
  46. !!> Report (landscape)
  47. report  REPORT,AT(1000,1500,9000,5000),THOUS,PRE(RPT),LANDSCAPE,FONT('Arial',10)
  48.          HEADER,AT(1000,1000,9000,500)
  49.          END
  50. detail   DETAIL
  51.          END
  52.          FOOTER,AT(1000,6500,9000,500)
  53.          END
  54.          FORM,AT(1000,1000,9000,6000)
  55.          END
  56.        END
  57.  
  58.  
  59.