RightsExt.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #include <System.Actions.hpp>
  17. //---------------------------------------------------------------------------
  18. class TRightsExtFrame : public TRightsFrame
  19. {
  20. __published:
  21. TLabel *OctalLabel;
  22. TEdit *OctalEdit;
  23. TGrayedCheckBox *SetUidCheck;
  24. TGrayedCheckBox *SetGIDCheck;
  25. TGrayedCheckBox *StickyBitCheck;
  26. TButton *CloseButton;
  27. void __fastcall OctalEditChange(TObject *Sender);
  28. void __fastcall OctalEditExit(TObject *Sender);
  29. void __fastcall CloseButtonClick(TObject *Sender);
  30. public:
  31. __fastcall TRightsExtFrame(TComponent* Owner);
  32. protected:
  33. virtual void __fastcall UpdateControls();
  34. virtual void __fastcall ForceUpdate();
  35. virtual void __fastcall SetPopup(bool value);
  36. private:
  37. void __fastcall UpdateByOctal();
  38. void __fastcall UpdateOctalEdit();
  39. };
  40. //---------------------------------------------------------------------------
  41. #endif