04-29-2007, 06:40 PM
Hi,
I have a dialog which extracts text from a textbox, when a button is clicked, and another function is started to handle the task (the text is copied to s1),
The function handles the s1 string properly, at the end of the function i can out the s1 string, but after a 'ret' and getting back to the main dialog it is empty.
I want some kind of possibility to restore the last input in this string..
Can this simply be done by storing the string and calling it back (as i have tried the last couple of hours), or has something else to be done?
Cheers
I have a dialog which extracts text from a textbox, when a button is clicked, and another function is started to handle the task (the text is copied to s1),
The function handles the s1 string properly, at the end of the function i can out the s1 string, but after a 'ret' and getting back to the main dialog it is empty.
I want some kind of possibility to restore the last input in this string..
Can this simply be done by storing the string and calling it back (as i have tried the last couple of hours), or has something else to be done?
Cheers