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

Close button or Window close

edited November 2005 in General
Hi,

I want to detect if a previewform is closed using the close button or the
window "X" .
Is this possible?

Eric

Comments

  • edited November 2005
    Hi Eric,

    I do not believe the OnClose event of the TppPreview has the ability to
    differentiate beween these two methods of closing the form. This can be
    done by creating a custom preview dialog. From there you could take control
    of the OnClick event for the Close button and perhaps set a boolean variable
    letting you know that button was pressed before the dialog was closed.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    Ok, i will.

    Eric

This discussion has been closed.