Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
passing variables to dialogs
#1
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.
An old blog on QM coding and automation.

The Macro Hook
#2
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?
#3
from one computer to a dialog in another computer (i think i got it figured if i'm working on only one compter).

thanks.
An old blog on QM coding and automation.

The Macro Hook
#4
With net you can send function arguments.

Macro on computer A
Code:
Copy      Help
str v="A"
int r=net("localhost" "p" "Function38" 0 v)
if(r) out "error %i" r

Function on computer B
Code:
Copy      Help
;\
function $v

str controls = "3"
str e3
e3=v
if(!ShowDialog("Dialog16" 0 &controls)) ret
#5
ahhh....i was starting to go down that path but i was thinking that i was missing something.

thanks!
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)