home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / MAINPRNT.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  2KB  |  50 lines

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1997 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef mainprntH
  7. #define mainprntH
  8. //---------------------------------------------------------------------------
  9. #include <vcl\Classes.hpp>
  10. #include <vcl\Controls.hpp>
  11. #include <vcl\StdCtrls.hpp>
  12. #include <vcl\Forms.hpp>
  13. #include <vcl\ExtCtrls.hpp>
  14. #include <vcl\QuickRep.hpp>
  15. //---------------------------------------------------------------------------
  16. class TMainPrintForm : public TForm
  17. {
  18. __published:    // IDE-managed Components
  19.     TRadioGroup *ReportCombo;
  20.     TRadioGroup *OrientationCombo;
  21.     TRadioGroup *PreviewCombo;
  22.     TCheckBox *PrintDialogChk;
  23.     TPanel *Panel1;
  24.     TButton *PrintBtn;
  25.     TButton *PreviewBtn;
  26.     TButton *CancelBtn;
  27.     TPanel *TopPanel;
  28.     TImage *Image1;
  29.     TBevel *Bevel1;
  30.     TBevel *Bevel2;
  31.         TLabel *Label1;
  32.         TLabel *Label2;
  33.         void __fastcall PrintBtnClick(TObject *Sender);
  34.         void __fastcall PreviewBtnClick(TObject *Sender);
  35.         void __fastcall PreviewComboClick(TObject *Sender);
  36.         void __fastcall ShowPreview();
  37.         void __fastcall CancelBtnClick(TObject *Sender);
  38.         
  39. private:    // User declarations
  40.         TQuickReport * aReport;
  41.         bool PickReport();
  42. public:        // User declarations
  43.     virtual __fastcall TMainPrintForm(TComponent* Owner);
  44.         __property TQuickReport * TheReport={read=aReport};
  45. };
  46. //---------------------------------------------------------------------------
  47. extern TMainPrintForm *MainPrintForm;
  48. //---------------------------------------------------------------------------
  49. #endif
  50.