Posts: 1,769
Threads: 410
Joined: Feb 2003
I have a dialog that i want to pass a str variable to and have it populate the text box but i seem to fing out where to look to see how to do that.
can someone tell me how is that done or show me where to look?
thanks
EDIT:
I should probably mention that i'm trying to send the string to a dialog on another machine via the "net" command.
Posts: 12,097
Threads: 142
Joined: Dec 2002
Do you need example how to pass variable from one computer to another computer, or how to pass variable in the same computer from macro to dialog procedure?
Posts: 1,769
Threads: 410
Joined: Feb 2003
from one computer to a dialog in another computer (i think i got it figured if i'm working on only one compter).
thanks.
Posts: 12,097
Threads: 142
Joined: Dec 2002
With net you can send function arguments.
Macro on computer A
str v="A"
int r=net("localhost" "p" "Function38" 0 v)
if(r) out "error %i" r
Function on computer B
;\
function $v
str controls = "3"
str e3
e3=v
if(!ShowDialog("Dialog16" 0 &controls)) ret
Posts: 1,769
Threads: 410
Joined: Feb 2003
ahhh....i was starting to go down that path but i was thinking that i was missing something.
thanks!