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

Delphi控件源码

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef colordemouH
  3. #define colordemouH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "fcColorCombo.hpp"
  10. #include "fcCombo.hpp"
  11. #include "fcDemoRichEdit.hpp"
  12. #include "fcLabel.hpp"
  13. #include <ComCtrls.hpp>
  14. #include <ExtCtrls.hpp>
  15. //---------------------------------------------------------------------------
  16. class TColorDemoForm : public TForm
  17. {
  18. __published: // IDE-managed Components
  19.         TPageControl *PageControl1;
  20.         TTabSheet *TabSheet1;
  21.         TPanel *Panel1;
  22.         TShape *Shape1;
  23.         TfcColorCombo *fcColorCombo1;
  24.         TPanel *Panel2;
  25.         TLabel *itemheightlabel;
  26.         TLabel *dropdowncountlabel;
  27.         TLabel *dropdownwidthlabel;
  28.         TLabel *DropDownTitle;
  29.         TBevel *Bevel1;
  30.         TGroupBox *ColorListBoxOptions;
  31.         TCheckBox *CheckBox5;
  32.         TCheckBox *CheckBox4;
  33.         TCheckBox *CheckBox3;
  34.         TCheckBox *CheckBox2;
  35.         TCheckBox *CheckBox1;
  36.         TUpDown *UpDown1;
  37.         TUpDown *UpDown2;
  38.         TEdit *DropDownCountEdit;
  39.         TEdit *DropDownWidthEdit;
  40.         TEdit *ItemHeightEdit;
  41.         TUpDown *UpDown4;
  42.         TRadioGroup *SortByRadio;
  43.         TPanel *Panel3;
  44.         TLabel *AppearanceTitle;
  45.         TBevel *Bevel2;
  46.         TLabel *Colorwidthlabel;
  47.         TCheckBox *ShowMatchCheckbox;
  48.         TCheckBox *ShowButtonCheckbox;
  49.         TRadioGroup *ButtonStyleRadio;
  50.         TRadioGroup *ColorAlignmentRadio;
  51.         TEdit *ColorWidthEdit;
  52.         TUpDown *UpDown3;
  53.         TCheckBox *CheckBox6;
  54.         TfcDemoRichEdit *fcDemoRichEdit1;
  55.         TTabSheet *TabSheet2;
  56.         TfcLabel *fcLabel1;
  57.         TfcLabel *fcLabel2;
  58.         TfcLabel *fcLabel3;
  59.         TfcLabel *fcLabel4;
  60.         TfcLabel *fcLabel5;
  61.         TfcLabel *fcLabel6;
  62.         TfcLabel *fcLabel7;
  63.         TfcColorList *fcColorList3;
  64.         TfcColorList *fcColorList2;
  65.         TfcColorList *fcColorList4;
  66.         TfcColorList *fcColorList1;
  67.         void __fastcall CheckBox6Click(TObject *Sender);
  68.         void __fastcall fcColorCombo1Change(TObject *Sender);
  69.         void __fastcall ColorAlignmentRadioClick(TObject *Sender);
  70.         void __fastcall ButtonStyleRadioClick(TObject *Sender);
  71.         void __fastcall ShowMatchCheckboxClick(TObject *Sender);
  72.         void __fastcall ShowButtonCheckboxClick(TObject *Sender);
  73.         void __fastcall SortByRadioClick(TObject *Sender);
  74.         void __fastcall CheckBox1Click(TObject *Sender);
  75.         void __fastcall ColorWidthEditExit(TObject *Sender);
  76.         void __fastcall ItemHeightEditExit(TObject *Sender);
  77.         void __fastcall UpDown3Click(TObject *Sender, TUDBtnType Button);
  78.         void __fastcall UpDown4Click(TObject *Sender, TUDBtnType Button);
  79.         void __fastcall DropDownCountEditExit(TObject *Sender);
  80.         void __fastcall DropDownWidthEditExit(TObject *Sender);
  81.         void __fastcall fcColorCombo1DropDown(TObject *Sender);
  82. private: // User declarations
  83. public: // User declarations
  84.         __fastcall TColorDemoForm(TComponent* Owner);
  85. };
  86. //---------------------------------------------------------------------------
  87. extern PACKAGE TColorDemoForm *ColorDemoForm;
  88. //---------------------------------------------------------------------------
  89. #endif