git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@31 05c56307-c608-d34a-929d-697000501d7a
77 lines
3.0 KiB
C++
77 lines
3.0 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef ColumnsShareDemoLookupCustomizeH
|
|
#define ColumnsShareDemoLookupCustomizeH
|
|
//---------------------------------------------------------------------------
|
|
#include <Classes.hpp>
|
|
#include <Controls.hpp>
|
|
#include <StdCtrls.hpp>
|
|
#include <Forms.hpp>
|
|
#include "cxButtons.hpp"
|
|
#include "cxCheckBox.hpp"
|
|
#include "cxContainer.hpp"
|
|
#include "cxControls.hpp"
|
|
#include "cxDropDownEdit.hpp"
|
|
#include "cxEdit.hpp"
|
|
#include "cxLookAndFeelPainters.hpp"
|
|
#include "cxMaskEdit.hpp"
|
|
#include "cxSpinEdit.hpp"
|
|
#include "cxTextEdit.hpp"
|
|
#include "cxDBLookupComboBox.hpp"
|
|
#include <ComCtrls.hpp>
|
|
#include "cxListBox.hpp"
|
|
//---------------------------------------------------------------------------
|
|
class TColumnsShareDemoLookupCustomizeForm : public TForm
|
|
{
|
|
__published: // IDE-managed Components
|
|
TLabel *lbDescr;
|
|
TcxButton *btnClose;
|
|
TPageControl *PageControl1;
|
|
TTabSheet *tsLookupListFields;
|
|
TLabel *lbDescription;
|
|
TLabel *Label3;
|
|
TLabel *Label1;
|
|
TcxButton *btnAdd;
|
|
TcxButton *btnDelete;
|
|
TcxListBox *lbUnlinkedColumns;
|
|
TcxListBox *lbListColumns;
|
|
TTabSheet *tsLookupProperties;
|
|
TLabel *Label5;
|
|
TLabel *Label4;
|
|
TLabel *Label2;
|
|
TcxCheckBox *chbHeaders;
|
|
TcxCheckBox *chbIncrementalFilltering;
|
|
TcxCheckBox *chbImmediateDropDown;
|
|
TcxCheckBox *chbDropDownAutoSize;
|
|
TcxSpinEdit *seListFieldIndex;
|
|
TcxSpinEdit *seDropDownRows;
|
|
TcxComboBox *cbDropDownListStyle;
|
|
void __fastcall btnAddClick(TObject *Sender);
|
|
void __fastcall btnDeleteClick(TObject *Sender);
|
|
void __fastcall FormCreate(TObject *Sender);
|
|
void __fastcall btnCloseClick(TObject *Sender);
|
|
void __fastcall lbUnlinkedColumnsDblClick(TObject *Sender);
|
|
void __fastcall lbUnlinkedColumnsKeyPress(TObject *Sender, char &Key);
|
|
void __fastcall lbListColumnsKeyPress(TObject *Sender, char &Key);
|
|
void __fastcall chbDropDownAutoSizeClick(TObject *Sender);
|
|
void __fastcall chbImmediateDropDownClick(TObject *Sender);
|
|
void __fastcall chbIncrementalFillteringClick(TObject *Sender);
|
|
void __fastcall chbHeadersClick(TObject *Sender);
|
|
void __fastcall cbDropDownListStylePropertiesChange(TObject *Sender);
|
|
void __fastcall seDropDownRowsPropertiesChange(TObject *Sender);
|
|
void __fastcall seListFieldIndexPropertiesChange(TObject *Sender);
|
|
private: // User declarations
|
|
TcxLookupComboBoxProperties* FEditProperty;
|
|
void __fastcall CancelEditing();
|
|
void __fastcall CustomizeListBoxes();
|
|
void __fastcall CustomizeParams();
|
|
void __fastcall lbMoveItem(TcxListBox* ASourceListBox, TcxListBox* ADestinationListBox);
|
|
void __fastcall lbDeleteSelection(TcxListBox* AListBox);
|
|
public: // User declarations
|
|
__fastcall TColumnsShareDemoLookupCustomizeForm(TComponent* Owner);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TColumnsShareDemoLookupCustomizeForm *ColumnsShareDemoLookupCustomizeForm;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|