Einzelnen Beitrag anzeigen

Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
11.015 Beiträge
 
Delphi 12 Athens
 
#3

AW: Ereignis erschient nicht im Property editor

  Alt 22. Jul 2010, 13:52
Ich habe mal eine Anleitung von Jeff Overcash gelesen, in der grob beschrieben wird, wie man das macht (sorry, Englisch):

Zitat:
As others have said you need to publish your properties. Second you need a
constructor to set the initial values you want. Finally to see them in the
Object inspector you will need to

1) Add the form to the Repository
2) Add the form to a new package
3) Add a Register procedure to that package and it should read something like

procedure Register
begin
RegisterCustomModule(TWM_FORM, TCustomModule);
end;

4) Install the package.

Now just make sure you inherit from the base form and you should see your additional properties. Do not copy or use the form, but inherit from it.
I'm not certain where RegisterCustomModule is these days, but I'd guess it would be in DesignIDE.
Uwe Raabe
  Mit Zitat antworten Zitat