home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- #ifndef DualListH
- #define DualListH
- //----------------------------------------------------------------------------
- #include <System.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <Classes.hpp>
- #include <Graphics.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Buttons.hpp>
- //----------------------------------------------------------------------------
- class TDualListDlg : public TForm
- {
- __published:
- TButton *OKBtn;
- TButton *CancelBtn;
- TButton *HelpBtn;
- TListBox *SrcList;
- TListBox *DstList;
- TLabel *SrcLabel;
- TLabel *DstLabel;
- TSpeedButton *IncludeBtn;
- TSpeedButton *IncAllBtn;
- TSpeedButton *ExcludeBtn;
- TSpeedButton *ExAllBtn;
- void __fastcall IncludeBtnClick(TObject *Sender);
- void __fastcall ExcludeBtnClick(TObject *Sender);
- void __fastcall IncAllBtnClick(TObject *Sender);
- void __fastcall ExcAllBtnClick(TObject *Sender);
- void __fastcall MoveSelected(TCustomListBox *List, TStrings *Items);
- void __fastcall SetItem(TListBox *List, int Index);
- Integer __fastcall GetFirstSelection(TCustomListBox *List);
- void __fastcall SetButtons();
- private:
- public:
- virtual __fastcall TDualListDlg(TComponent* AOwner);
- };
- //----------------------------------------------------------------------------
- extern PACKAGE TDualListDlg *DualListDlg;
- //----------------------------------------------------------------------------
- #endif
-