Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Overriding TppDesignerWindow. Is it Possible?

edited April 2003 in End User
I am trying to create a decendant from the TppDesignerWindow. I haven't put
any code in it yet.

TdevDesignerWindow = class(TppDesignerWindow)
end;

initialization
ppUnRegisterForm(TppDesignerWindow);
ppRegisterForm(TdevDesignerWindow, TppDesignerWindow);

finalization
ppUnRegisterForm(TdevDesignerWindow);

My designer is not being displayed. I tried changing the form color,
changing the sizing properties of the page control and changing the size of
the taskbar panels.

Am I doing this correctly? Is this possible? I want to do the same for the
TppReport.

Thanks in advance.

Comments

  • edited April 2003
    This is not recommended. It is not possible to accomplish what you want to
    do this way. You will have to create your own designer component (copy,
    rename and install a new component package into Delphi) in order to
    customize the designer this way. Again, this is not recommended.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.