RightsExt.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //---------------------------------------------------------------------------
  2. #ifndef RightsExtH
  3. #define RightsExtH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "Rights.h"
  10. #include <ActnList.hpp>
  11. #include <Buttons.hpp>
  12. #include <ImgList.hpp>
  13. #include <Menus.hpp>
  14. #include "GrayedCheckBox.hpp"
  15. #include "PngImageList.hpp"
  16. //---------------------------------------------------------------------------
  17. class TRightsExtFrame : public TRightsFrame
  18. {
  19. __published:
  20. TLabel *OctalLabel;
  21. TEdit *OctalEdit;
  22. TGrayedCheckBox *SetUidCheck;
  23. TGrayedCheckBox *SetGIDCheck;
  24. TGrayedCheckBox *StickyBitCheck;
  25. TButton *CloseButton;
  26. void __fastcall OctalEditChange(TObject *Sender);
  27. void __fastcall OctalEditExit(TObject *Sender);
  28. void __fastcall CloseButtonClick(TObject *Sender);
  29. public:
  30. __fastcall TRightsExtFrame(TComponent* Owner);
  31. protected:
  32. virtual void __fastcall UpdateControls();
  33. virtual void __fastcall ForceUpdate();
  34. virtual void __fastcall SetPopup(bool value);
  35. private:
  36. void __fastcall UpdateByOctal();
  37. };
  38. //---------------------------------------------------------------------------
  39. #endif