home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / DUALLIST.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  2KB  |  45 lines

  1. //----------------------------------------------------------------------------
  2. #ifndef DualListH
  3. #define DualListH
  4. //----------------------------------------------------------------------------
  5. #include <vcl\System.hpp>
  6. #include <vcl\Windows.hpp>
  7. #include <vcl\SysUtils.hpp>
  8. #include <vcl\Classes.hpp>
  9. #include <vcl\Graphics.hpp>
  10. #include <vcl\Forms.hpp>
  11. #include <vcl\Controls.hpp>
  12. #include <vcl\StdCtrls.hpp>
  13. #include <vcl\Buttons.hpp>
  14. //----------------------------------------------------------------------------
  15. class TDualListDlg : public TForm
  16. {
  17. __published:
  18.     TButton *OKBtn;
  19.     TButton *CancelBtn;
  20.     TButton *HelpBtn;
  21.     TListBox *SrcList;
  22.     TListBox *DstList;
  23.     TLabel *SrcLabel;
  24.     TLabel *DstLabel;
  25.     TSpeedButton *IncludeBtn;
  26.     TSpeedButton *IncAllBtn;
  27.     TSpeedButton *ExcludeBtn;
  28.     TSpeedButton *ExAllBtn;
  29.     void __fastcall IncludeBtnClick(TObject *Sender);
  30.     void __fastcall ExcludeBtnClick(TObject *Sender);
  31.     void __fastcall IncAllBtnClick(TObject *Sender);
  32.     void __fastcall ExcAllBtnClick(TObject *Sender);
  33.     void __fastcall MoveSelected(TCustomListBox *List, TStrings *Items);
  34.     void __fastcall SetItem(TListBox *List, int Index);
  35.     Integer __fastcall GetFirstSelection(TCustomListBox *List);
  36.     void __fastcall SetButtons();
  37. private:
  38. public:
  39.     virtual __fastcall TDualListDlg(TComponent* AOwner);
  40. };
  41. //----------------------------------------------------------------------------
  42. extern TDualListDlg *DualListDlg;
  43. //----------------------------------------------------------------------------
  44. #endif    
  45.