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

Delphi控件源码

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef imagebuttonuH
  3. #define imagebuttonuH
  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 "fcImgBtn.hpp"
  16. #include "fcLabel.hpp"
  17. #include "fcTreeCombo.hpp"
  18. #include <ComCtrls.hpp>
  19. #include <ExtCtrls.hpp>
  20. #include <Graphics.hpp>
  21. #include <ImgList.hpp>
  22. //---------------------------------------------------------------------------
  23. class TImageBtnDemoForm : public TForm
  24. {
  25. __published: // IDE-managed Components
  26.         TPageControl *PageControl1;
  27.         TTabSheet *TabSheet1;
  28.         TPanel *Panel10;
  29.         TfcLabel *fcLabel1;
  30.         TPanel *Panel7;
  31.         TBevel *Bevel1;
  32.         TImage *LightSwitch;
  33.         TfcLabel *LEDLabel;
  34.         TfcLabel *switchlabel;
  35.         TfcLabel *fcLabel4;
  36.         TfcLabel *tacklabel2;
  37.         TBevel *Bevel2;
  38.         TfcLabel *CountryLabel;
  39.         TfcLabel *Checkboxlabel;
  40.         TPanel *Panel2;
  41.         TfcImageBtn *NorthAmerica;
  42.         TfcImageBtn *Europe;
  43.         TfcImageBtn *Asia;
  44.         TfcImageBtn *Africa;
  45.         TfcImageBtn *Australia;
  46.         TfcImageBtn *SouthAmerica;
  47.         TfcImageBtn *LightSwitch1;
  48.         TfcImageBtn *led4;
  49.         TfcImageBtn *TackButton;
  50.         TfcImageBtn *Checkboxbtn;
  51.         TfcDemoRichEdit *TfcDemoRichEdit1;
  52.         TTabSheet *TabSheet2;
  53.         TPanel *Panel1;
  54.         TfcLabel *fcLabel2;
  55.         TPanel *Panel6;
  56.         TLabel *StyleLabel1;
  57.         TLabel *StyleLabel2;
  58.         TLabel *StyleLabel3;
  59.         TLabel *StyleLabel4;
  60.         TLabel *Label5;
  61.         TfcImageBtn *CompBtnFlat;
  62.         TfcImageBtn *CompBtnHighlight;
  63.         TfcImageBtn *CompBtnNormal;
  64.         TfcImageBtn *CompBtnRaised;
  65.         TfcImageBtn *Roundflat;
  66.         TfcImageBtn *RoundHighlight;
  67.         TfcImageBtn *RoundNormal;
  68.         TfcImageBtn *RoundRaised;
  69.         TfcImageBtn *KnightNormal;
  70.         TfcImageBtn *KnightRaised;
  71.         TfcImageBtn *KnightFlat;
  72.         TfcImageBtn *StarFlat;
  73.         TfcImageBtn *StarHighlight;
  74.         TfcImageBtn *StarNormal;
  75.         TfcImageBtn *StarRaised;
  76.         TfcImageBtn *ComputerImage;
  77.         TfcDemoRichEdit *fcDemoRichEdit2;
  78.         TTabSheet *TabSheet3;
  79.         TPanel *Panel4;
  80.         TfcLabel *fcLabel3;
  81.         TPanel *Panel5;
  82.         TGroupBox *GroupBox2;
  83.         TLabel *DitherLabel3;
  84.         TLabel *DitherLabel2;
  85.         TLabel *DitherLabel1;
  86.         TfcLabel *fcLabel12;
  87.         TfcImageBtn *Butterfly1;
  88.         TfcImageBtn *Butterfly2;
  89.         TfcImageBtn *Butterfly3;
  90.         TfcColorCombo *fcColorCombo2;
  91.         TPanel *Panel13;
  92.         TfcLabel *fcLabel7;
  93.         TfcLabel *fcLabel8;
  94.         TBevel *Bevel4;
  95.         TLabel *Label1;
  96.         TfcImageBtn *puz1;
  97.         TfcImageBtn *puz3;
  98.         TfcImageBtn *puz4;
  99.         TfcImageBtn *puz2;
  100.         TfcImageBtn *puz5;
  101.         TfcColorCombo *fcColorCombo1;
  102.         TfcTreeCombo *fcImageCombo1;
  103.         TfcDemoRichEdit *fcDemoRichEdit3;
  104.         TTabSheet *TabSheet4;
  105.         TPanel *Panel9;
  106.         TfcLabel *fcLabel5;
  107.         TPanel *Panel12;
  108.         TBevel *Bevel3;
  109.         TfcLabel *TackLabel;
  110.         TfcLabel *fcLabel9;
  111.         TfcLabel *fcLabel10;
  112.         TfcLabel *fcLabel11;
  113.         TLabel *Label10;
  114.         TLabel *Label11;
  115.         TLabel *Label12;
  116.         TfcLabel *SwitchTitleLabel;
  117.         TfcLabel *InfoLabel;
  118.         TfcImageBtn *LightButton3;
  119.         TfcImageBtn *LightButton2;
  120.         TfcImageBtn *lightbutton1;
  121.         TfcImageBtn *Switch1;
  122.         TfcImageBtn *Switch2;
  123.         TfcImageBtn *LEDButton;
  124.         TfcImageBtn *CoolCheckbox;
  125.         TfcImageBtn *ThumbTack;
  126.         TfcImageBtn *Switch3;
  127.         TfcImageBtn *PushPin;
  128.         TfcImageBtn *SwitchBox;
  129.         TfcImageBtn *HandleButton;
  130.         TGroupBox *GroupBox1;
  131.         TfcLabel *RadioGroupLabel;
  132.         TfcButtonGroup *RadioButtonGroup1;
  133.         TfcImageBtn *RadioButtonGroup1fcImageBtn1;
  134.         TfcImageBtn *RadioButtonGroup1fcImageBtn2;
  135.         TfcImageBtn *RadioButtonGroup1fcImageBtn3;
  136.         TfcDemoRichEdit *fcDemoRichEdit4;
  137.         TTabSheet *TabSheet5;
  138.         TPanel *Panel8;
  139.         TfcLabel *fcLabel6;
  140.         TPanel *Panel11;
  141.         TfcLabel *fcLabel13;
  142.         TShape *Shape1;
  143.         TfcImageBtn *fcImageBtn1;
  144.         TfcColorCombo *fcColorCombo3;
  145.         TfcImageBtn *fcImageBtn2;
  146.         TfcDemoRichEdit *fcDemoRichEdit5;
  147.         TPanel *Panel3;
  148.         TfcButtonGroup *ButtonTab;
  149.         TfcImageBtn *ButtonTabfcImageBtn1;
  150.         TfcImageBtn *ButtonTabfcImageBtn2;
  151.         TfcImageBtn *ButtonTabfcImageBtn3;
  152.         TfcImageBtn *ButtonTabfcImageBtn4;
  153.         TfcImageBtn *ButtonTabfcImageBtn5;
  154.         TImageList *ImageList1;
  155.         TfcImageBtn *KnightHighlight;
  156.         void __fastcall LightSwitch1Click(TObject *Sender);
  157.         void __fastcall TackButtonClick(TObject *Sender);
  158.         void __fastcall NorthAmericaClick(TObject *Sender);
  159.         void __fastcall FormShow(TObject *Sender);
  160.         void __fastcall fcColorCombo1Change(TObject *Sender);
  161.         void __fastcall fcImageCombo1Change(TObject *Sender);
  162.         void __fastcall fcColorCombo2Change(TObject *Sender);
  163.         void __fastcall ThumbTackClick(TObject *Sender);
  164.         void __fastcall Switch1Click(TObject *Sender);
  165.         void __fastcall ButtonTabChange(TfcCustomButtonGroup *ButtonGroup,
  166.           TfcButtonGroupItem *OldSelected, TfcButtonGroupItem *Selected);
  167.         void __fastcall lightbutton1Click(TObject *Sender);
  168.         void __fastcall fcColorCombo3Change(TObject *Sender);
  169.         void __fastcall led4Click(TObject *Sender);
  170. private: // User declarations
  171. public: // User declarations
  172.         __fastcall TImageBtnDemoForm(TComponent* Owner);
  173. };
  174. //---------------------------------------------------------------------------
  175. extern PACKAGE TImageBtnDemoForm *ImageBtnDemoForm;
  176. //---------------------------------------------------------------------------
  177. #endif