04-29-2007, 07:30 PM
This is what i tried to recover the s1 function in the main dialog:
out s1
s1.setwintext(id(1004 hDlg))
The s1 is populated earlier, so the problem can be here i think..
Another function uses the same s1 as called here in another function, populated this way through clipboard:
str s1
s1.getclip
After this i let a number of searches be done, at the end i can visualise the 's1' with out s1
And return to the main dialog,
All i want is a possibility to populate the (id(1004 hDlg)) with the s1 what i could read out in the other function.
I thought i had to make another string and populate it with the data like this:
str undo
undo=s1
undo.setwintext(id(1004 hDlg))
Or should i place it in another string at the last function to prevent that the string is reused and emptied before used?
out s1
s1.setwintext(id(1004 hDlg))
The s1 is populated earlier, so the problem can be here i think..
Another function uses the same s1 as called here in another function, populated this way through clipboard:
str s1
s1.getclip
After this i let a number of searches be done, at the end i can visualise the 's1' with out s1
And return to the main dialog,
All i want is a possibility to populate the (id(1004 hDlg)) with the s1 what i could read out in the other function.
I thought i had to make another string and populate it with the data like this:
str undo
undo=s1
undo.setwintext(id(1004 hDlg))
Or should i place it in another string at the last function to prevent that the string is reused and emptied before used?