buttongroupdemo.h
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:6k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef buttongroupdemoH
  3. #define buttongroupdemoH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "fcButton.hpp"
  10. #include "fcButtonGroup.hpp"
  11. #include "fcClearPanel.hpp"
  12. #include "fcColorCombo.hpp"
  13. #include "fcCombo.hpp"
  14. #include "fcDemoRichEdit.hpp"
  15. #include "fcImager.hpp"
  16. #include "fcImgBtn.hpp"
  17. #include "fcLabel.hpp"
  18. #include "fcShapeBtn.hpp"
  19. #include "fcTreeCombo.hpp"
  20. #include <ComCtrls.hpp>
  21. #include <ExtCtrls.hpp>
  22. #include <Graphics.hpp>
  23. #include <ImgList.hpp>
  24. #include "fctreecombo.hpp"
  25. //---------------------------------------------------------------------------
  26. class TButtonGroupDemoForm : public TForm
  27. {
  28. __published: // IDE-managed Components
  29.         TfcLabel *fcLabel17;
  30.         TPageControl *PageControl1;
  31.         TTabSheet *TabSheet1;
  32.         TfcImager *fcImager1;
  33.         TGroupBox *GroupBox1;
  34.         TfcLabel *fcLabel1;
  35.         TfcLabel *fcLabel2;
  36.         TfcLabel *fcLabel3;
  37.         TfcLabel *fcLabel4;
  38.         TfcLabel *fcLabel16;
  39.         TfcColorCombo *DownColorCombo;
  40.         TfcColorCombo *HotTrackColorCombo;
  41.         TfcColorCombo *FontColorCombo;
  42.         TfcColorCombo *UpColorCombo;
  43.         TfcButtonGroup *HotTrackBtnGroup;
  44.         TfcImageBtn *SlantOval1;
  45.         TfcImageBtn *SlantOval2;
  46.         TfcImageBtn *SlantOval3;
  47.         TfcImageBtn *SlantOval4;
  48.         TfcImageBtn *SlantOval5;
  49.         TfcImageBtn *SlantOval6;
  50.         TfcDemoRichEdit *fcDemoRichEdit1;
  51.         TTabSheet *TabSheet2;
  52.         TGroupBox *GroupBox2;
  53.         TfcLabel *fcLabel5;
  54.         TfcLabel *fcLabel10;
  55.         TfcTreeCombo *ShapeCombo;
  56.         TfcTreeCombo *OrientationCombo;
  57.         TRadioGroup *RadioGroup1;
  58.         TGroupBox *GroupBox4;
  59.         TfcButtonGroup *ShapeBtnGroup1;
  60.         TfcShapeBtn *ShapeBtnGroup1fcShapeBtn1;
  61.         TfcShapeBtn *ShapeBtnGroup1fcShapeBtn2;
  62.         TfcShapeBtn *ShapeBtnGroup1fcShapeBtn3;
  63.         TfcShapeBtn *ShapeBtnGroup1fcShapeBtn4;
  64.         TfcShapeBtn *ShapeBtnGroup1fcShapeBtn5;
  65.         TfcDemoRichEdit *fcDemoRichEdit2;
  66.         TTabSheet *TabSheet3;
  67.         TfcButtonGroup *OvalSlantBtnGroup2;
  68.         TfcImageBtn *Right;
  69.         TfcImageBtn *Up;
  70.         TfcImageBtn *Left;
  71.         TfcImageBtn *Down;
  72.         TfcButtonGroup *DiamondBtnGroup;
  73.         TfcImageBtn *Diamond;
  74.         TfcImageBtn *Diamond2;
  75.         TfcImageBtn *Diamond3;
  76.         TfcImageBtn *Diamond4;
  77.         TfcDemoRichEdit *fcDemoRichEdit3;
  78.         TTabSheet *TabSheet4;
  79.         TShape *Shape1;
  80.         TfcImager *fcImager2;
  81.         TBevel *Bevel2;
  82.         TCheckBox *CheckBox1;
  83.         TfcButtonGroup *OvalImageBtnGroup;
  84.         TfcImageBtn *OvalGold;
  85.         TfcImageBtn *OvalGold2;
  86.         TfcImageBtn *OvalGold3;
  87.         TfcButtonGroup *CheckBoxEditBtnGroup;
  88.         TfcImageBtn *CheckboxButtonEdt;
  89.         TfcImageBtn *CheckBoxBtnEdit2;
  90.         TfcImageBtn *CheckBoxBtnEdit3;
  91.         TfcDemoRichEdit *fcDemoRichEdit4;
  92.         TTabSheet *TabSheet5;
  93.         TfcLabel *fcLabel12;
  94.         TfcImager *fcImager3;
  95.         TfcButtonGroup *MultiColumnBtnGroup;
  96.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn1;
  97.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn2;
  98.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn3;
  99.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn4;
  100.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn5;
  101.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn6;
  102.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn7;
  103.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn8;
  104.         TfcShapeBtn *MultiColumnBtnGroupfcShapeBtn9;
  105.         TPanel *Panel1;
  106.         TfcLabel *fcLabel9;
  107.         TfcButtonGroup *HorizontalShapeBtnGroup;
  108.         TfcShapeBtn *Choice1;
  109.         TfcShapeBtn *Choice2;
  110.         TfcShapeBtn *Choice3;
  111.         TfcShapeBtn *Choice4;
  112.         TPanel *Panel2;
  113.         TfcLabel *fcLabel11;
  114.         TBevel *Bevel1;
  115.         TfcButtonGroup *VerticalShapeBtnGroup2;
  116.         TfcShapeBtn *RoundRectShape1;
  117.         TfcShapeBtn *RoundRectShape2;
  118.         TfcShapeBtn *RoundRectShape3;
  119.         TCheckBox *CheckBox2;
  120.         TRadioGroup *RadioGroup2;
  121.         TfcButtonGroup *HorizontalImageBtnGroup;
  122.         TfcImageBtn *Bar1;
  123.         TfcImageBtn *Bar2;
  124.         TfcImageBtn *Bar3;
  125.         TfcImageBtn *Bar4;
  126.         TfcDemoRichEdit *fcDemoRichEdit5;
  127.         TTabSheet *TabSheet6;
  128.         TRichEdit *RichEdit6;
  129.         TImageList *ImageList1;
  130.         void __fastcall SlantOval1MouseEnter(TObject *Sender);
  131.         void __fastcall SlantOval1MouseLeave(TObject *Sender);
  132.         void __fastcall HotTrackBtnGroupChange(
  133.           TfcCustomButtonGroup *ButtonGroup,
  134.           TfcButtonGroupItem *OldSelected, TfcButtonGroupItem *Selected);
  135.         void __fastcall DownColorComboChange(TObject *Sender);
  136.         void __fastcall FontColorComboChange(TObject *Sender);
  137.         void __fastcall ShapeComboChange(TObject *Sender);
  138.         void __fastcall OrientationComboChange(TObject *Sender);
  139.         void __fastcall RadioGroup1Click(TObject *Sender);
  140.         void __fastcall CheckBox1Click(TObject *Sender);
  141.         void __fastcall CheckBox2Click(TObject *Sender);
  142.         void __fastcall RadioGroup2Click(TObject *Sender);
  143.         void __fastcall UpColorComboChange(TObject *Sender);
  144.         void __fastcall HorizontalImageBtnGroupChange(
  145.           TfcCustomButtonGroup *ButtonGroup,
  146.           TfcButtonGroupItem *OldSelected, TfcButtonGroupItem *Selected);
  147.         void __fastcall OvalSlantBtnGroup2Change(
  148.           TfcCustomButtonGroup *ButtonGroup,
  149.           TfcButtonGroupItem *OldSelected, TfcButtonGroupItem *Selected);
  150.         void __fastcall FormShow(TObject *Sender);
  151. private: // User declarations
  152. public: // User declarations
  153.         __fastcall TButtonGroupDemoForm(TComponent* Owner);
  154. };
  155. //---------------------------------------------------------------------------
  156. extern PACKAGE TButtonGroupDemoForm *ButtonGroupDemoForm;
  157. //---------------------------------------------------------------------------
  158. #endif