Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Smart dialog variables
#1
1. I need to store a string variable in smart dialog. So it's saved after refresh(button clicked). When I just put:
Code:
Copy      Help
str string = "data"
It's not saved next time..

I found SetProp / GetProp -functions, but they can only store an int(right?)..


2. I need to send a varible from a simple dialog to a smart dialog. The simple dialog has text input and then the smart dialog uses the input.
#2
do you have that line of code in the right place? it should be in the case statement of that button.

as far as moving the value from one to the other, you can use global variables to do that.
An old blog on QM coding and automation.

The Macro Hook
#3
Put + or - after str.

str+ g_string="..."
#4
Working with global variables..
EDIT: I mean that there is no problem anymore..
#5
Better post the code with comments.


Forum Jump:


Users browsing this thread: 1 Guest(s)