home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / MAINPRNT.H < prev    next >
C/C++ Source or Header  |  1997-01-16  |  2KB  |  45 lines

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