The TppPrinter.ShowPropertiesDialog is a boolean function, so the intent is to return True if the ok button was pressed. However, from looking at the code it is not checking for the OK button. Try modifying the TppCustomPrinter.ShowPropertiesDialog method located in ppPrintr.pas. The result of the DocumentProperties API call should check for IDOK rather than a result > 0.
We will make that change for next release.
-- Nard Moseley Digital Metaphors Corporation www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
The TppPrinter.ShowPropertiesDialog is a boolean function, so the intent is
to return True if the ok button was pressed. However, from looking at the
code it is not checking for the OK button. Try modifying the
TppCustomPrinter.ShowPropertiesDialog method located in ppPrintr.pas. The
result of the DocumentProperties API call should check for IDOK rather than
a result > 0.
We will make that change for next release.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com