RightsExt.h 1.2 KB

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