Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

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

Post Reply
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

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

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

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

Post 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.
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

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

Post by john.augustine »

Thank you so much!

I will look into that...

Thanks & Regards,
John
Post Reply