Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
*SOLVED* save edi text for later use temporarily
Hello, I am not sure what to call this but I will do my best to explain the situation.
on my form I have many sub frames, each fram has some edit boxes that are saved to an ini file.
On the first frame (main start) it shows the user name (from ini file) and an edit box.
In this edit box will go a password.
I need to save this password either to clipboard or memory for as long as the program is running.
What this is doing is:
You fill out all the information needed (for now just user name and password) then click go, the go button will open another program where the user name (which comes from the ini) is posted in the edit box of the program.
Then I send a "tab" to select the next edit box on the program where the password needs to go.
I want to post the password enterd into the password edit box of my form into this new edit box.
I do NOT want to save this password in the ini for obvious reasons.
Either save to clipboard (which may not work as other things will go to clipboard and this will be overwritten as clipboard only holds one at a time (as far as I know(I could be wrong))
save to memory (which I hope is a better choice)
Now if the (new prog) should lose connection my program will re login using user name from ini AND the password saved earlier from my form.
Do you have any ideas how this can be done (or what it would be called so I can google it)
I have searched for:
save edit box to clipboard
password text in memory
"delphi" save text to clipboard
to no prevail.
Thank you all for your help on this.
0 · ·