Home Devices

ppPrinter.ShowPropertiesDialog

edited December 2004 in Devices
Greetings,

Is there a way to know if the Cancel button was selected when using
ppPrinter.ShowPropertiesDialog?

Thanks,
Tommy D.

Comments

  • edited December 2004

    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
This discussion has been closed.