Конференция "Компоненты" » убить свойства
 
  • nokia4ever (01.08.14 11:29) [0]
    допустим я создаю свой компонент-наследник от обычной кнопки

    unit MyButton; interface

    uses  System. SysUtils, System. Classes, Vcl. Controls, Vcl. StdCtrls;

    type
     [ComponentPlatformsAttribute (pidWin32 or pidWin64)]
     TMyButton = class (TButton)
     private
       {Private declarations}
     protected
       {Protected declarations}
     public
       {Public declarations}
     published
       {Published declarations}
     end;

    procedure Register;

    implementation

    procedure Register;
    begin
     RegisterComponents ('MyPage', [TMyButton]);
    end;
    end.

    вопрос - можно ли каким то образом убить его свойство, например Hint? или хотябы сделать так чтобы оно в инспекторе не отображалось?
Есть новые Нет новых   [118642   +46][b:0][p:0]