Home Component Writing

Print to File - Save as Button

edited August 2002 in Component Writing
Is it possible to change the Browse button to a user defined routine.

I'm using TExtraDevices to send the report to an E-Mail Client.
I uses the filename to store the E-Mail address and want to call the
WAB Address finder.

Thanks in advance
Mario Brazil
Coretime / Raven Computing

Comments

  • edited August 2002
    You can replace this dialog, as every form in RB is replaceable. Create a
    copy of the form in ppTxtDlg.pas and change the button click behavior. Add
    ppTxtDlg to your uses clause and register you own, just like the default one
    is registered here:

    initialization
    ppRegisterForm(TppCustomPrintToFileSetupDialog,
    TppPrintToFileSetupDialog);

    finalization
    ppUnRegisterForm(TppCustomPrintToFileSetupDialog);


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.