CreateDirectory.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //----------------------------------------------------------------------------
  2. #ifndef CreateDirectoryH
  3. #define CreateDirectoryH
  4. //----------------------------------------------------------------------------
  5. #include <vcl\System.hpp>
  6. #include <vcl\Windows.hpp>
  7. #include <vcl\SysUtils.hpp>
  8. #include <vcl\Classes.hpp>
  9. #include <vcl\StdCtrls.hpp>
  10. #include <vcl\Forms.hpp>
  11. #include <vcl\Controls.hpp>
  12. #include <vcl\Buttons.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <Bookmarks.h>
  15. #include "MoreButton.hpp"
  16. #include "RightsExt.h"
  17. #include "Rights.h"
  18. //----------------------------------------------------------------------------
  19. class TCreateDirectoryDialog : public TForm
  20. {
  21. __published:
  22. TButton *OKBtn;
  23. TButton *CancelBtn;
  24. TEdit *DirectoryEdit;
  25. TLabel *EditLabel;
  26. TButton *HelpButton;
  27. TMoreButton *MoreButton;
  28. TPanel *MorePanel;
  29. TGroupBox *AttributesGroup;
  30. TRightsExtFrame *RightsFrame;
  31. TCheckBox *SetRightsCheck;
  32. TCheckBox *SaveSettingsCheck;
  33. void __fastcall ControlChange(TObject *Sender);
  34. void __fastcall DirectoryEditChange(TObject *Sender);
  35. void __fastcall FormShow(TObject *Sender);
  36. void __fastcall HelpButtonClick(TObject *Sender);
  37. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  38. public:
  39. __fastcall TCreateDirectoryDialog(TComponent* AOwner);
  40. virtual __fastcall ~TCreateDirectoryDialog();
  41. bool __fastcall Execute(AnsiString & Directory, TRemoteProperties * Properties,
  42. bool & SaveSettings);
  43. protected:
  44. void __fastcall UpdateControls();
  45. };
  46. //----------------------------------------------------------------------------
  47. #endif