Page 1 of 1

How to implement "Save as" command in "OnBeforeContextMenu"

Posted: Thu Apr 01, 2021 7:36 am
by john.augustine
Hi,

In "OnBeforeContextMenu" event, I have made the changes for Print & Preview but unable to implement "Save as" option.

Kindly refer the attached screenshot.

Could you please provide your suggestion to achieve "Save as" command in "OnBeforeContextMenu" event?

Thanks & Regards,
John Augustine

Re: How to implement "Save as" command in "OnBeforeContextMenu"

Posted: Fri Apr 02, 2021 7:58 am
by salvadordf
Hi,

That menu option has to be implemented manually.

You need to call TChromium.RetrieveText and get the result in the TChromium.OnTextResultAvailable event.

See the MiniBrowser demo for all the details.

Re: How to implement "Save as" command in "OnBeforeContextMenu"

Posted: Sun Apr 04, 2021 2:11 pm
by john.augustine
Thank you so much!

I will look into that...

Thanks & Regards,
John