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

What is TppParentWindow?

edited March 2002 in General
When my app closes it iterates over all forms in screen.forms and tries to
close all (except the main window). If it can't close one the uncloseable
window is made visible.

Today a window with caption TppParentWindow came up. I couldn't close it.

What is TppParentWindow, and in what situations should it exist?

Comments

  • edited March 2002
    This is the global form which is created to be the parent of the rich text
    control or the teechart control in the report designer. When these are
    created, the assignment of their parent is retrieved from a global function
    which returns this global parent (a TForm). This form is created on demand,
    and should get created only once. The form is created with the application
    as its owner. It is freed when the application closes. You can free this
    form with a call to the ppParentWndFree global function in our unit
    ppDrwCmd.

    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.