
16.02.2012, 08:58
|
 |
Let Me Show You
|
|
Регистрация: 30.04.2010
Адрес: Северодвинск
Сообщения: 5,426
Версия Delphi: 7, XE5
Репутация: 59586
|
|
Код:
procedure UnlistPublishedProperty(ComponentClass: TClass;
const PropName: String);
var
APropInfo: PPropInfo;
begin
APropInfo:=GetPropInfo(ComponentClass, PropName);
RegisterPropertyEditor(APropInfo^.PropType^, ComponentClass, PropName, nil);
end;
использование:
Код:
procedure Register;
begin
UnlistPublishedProperty(TLabel, 'Width');
end;
__________________
Пишу программы за еду.
__________________
|