ccrookston
Posts: 6
Joined: Wed Jan 10, 2018 8:44 pm

paste button?

Is it possible to set up a dialog with a textbox and a "paste" button that puts the content of the clipboard into the text box? If so, how is that done?
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: paste button?

Hello,

This could be done by developing your own custom action which will get the clipboard data and set it to the installer property associated with the edit box control. Then you can execute the custom action on your button push.

For instance you could write a C# custom action using the Clipboard.GetText Method ().

Also, please take a look on our "How to set the text of an Edit control when a button is pressed?" article too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ccrookston
Posts: 6
Joined: Wed Jan 10, 2018 8:44 pm

Re: paste button?

Thank you!
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: paste button?

You are always welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”