ITSSEL3MF.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //---------------------------------------------------------------------------
  2. #ifndef ITSSEL3MFH
  3. #define ITSSEL3MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <DB.hpp>
  10. #include <DBClient.hpp>
  11. #include <FMTBcd.hpp>
  12. #include <Provider.hpp>
  13. #include <SqlExpr.hpp>
  14. #include <Menus.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include <Graphics.hpp>
  17. #include <ComCtrls.hpp>
  18. #include <ADODB.hpp>
  19. #include "FRAME_RoadListF.h"
  20. #include "cxButtons.hpp"
  21. #include "cxContainer.hpp"
  22. #include "cxControls.hpp"
  23. #include "cxEdit.hpp"
  24. #include "cxGraphics.hpp"
  25. #include "cxGroupBox.hpp"
  26. #include "cxLookAndFeelPainters.hpp"
  27. #include "cxLookAndFeels.hpp"
  28. #include "dxSkinBlack.hpp"
  29. #include "dxSkinBlue.hpp"
  30. #include "dxSkinsCore.hpp"
  31. //---------------------------------------------------------------------------
  32. class TITSSEL3M : public TForm
  33. {
  34. __published: // IDE-managed Components
  35. TTimer *TmrShow;
  36. TcxButton *BtnSearch;
  37. TcxButton *BtnClose;
  38. TEdit *EdFocus;
  39. TcxButton *BtnSelect;
  40. TcxGroupBox *cxGroupBox1;
  41. TShape *ShpList;
  42. TFRAMERoadList *FRAMERoadList1;
  43. TListBox *SelList;
  44. void __fastcall FormShow(TObject *Sender);
  45. void __fastcall TmrShowTimer(TObject *Sender);
  46. void __fastcall BtnSearchClick(TObject *Sender);
  47. void __fastcall BtnCloseClick(TObject *Sender);
  48. void __fastcall BtnSelectClick(TObject *Sender);
  49. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  50. private: // User declarations
  51. void __fastcall CommClose();
  52. void __fastcall SetMultiSelect(bool AMultiSelect);
  53. bool __fastcall GetMultiSelect();
  54. bool FMultiSelect;
  55. public:
  56. bool m_bSelected;
  57. String m_sSelLinkId;
  58. public: // User declarations
  59. __fastcall TITSSEL3M(TComponent* Owner);
  60. void __fastcall RefreshData();
  61. void __fastcall SelListData();
  62. __property bool MultiSelect = {read = GetMultiSelect, write=SetMultiSelect };
  63. };
  64. //---------------------------------------------------------------------------
  65. extern PACKAGE TITSSEL3M *ITSSEL3M;
  66. //---------------------------------------------------------------------------
  67. #endif