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.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Eric