Cannot place data from a variable into a Dialog Edit box

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
gpapp
Newbie
Posts: 16
Joined: Tue Dec 21, 2004 8:00 pm

Cannot place data from a variable into a Dialog Edit box

Post by gpapp » Thu Aug 04, 2005 6:17 pm

Here is how the edit box is declared inside Dialog1 in my code:


Edit=msEdit1,264,184,57,erow


when the macro starts, I set the following:


let>erow=5000
Show>Dialog1, result


But the text does not appear.
I also have tried the following without success:


let>Dialog1.msEdit1=erow
Show>Dialog1, result


Any suggestions?
Thanks, gpapp
gpapp

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Thu Aug 04, 2005 6:59 pm

Change the Edit line in the Dialog block to:

Edit=msEdit1,264,184,57,%erow%
MJT Net Support
[email protected]

gpapp
Newbie
Posts: 16
Joined: Tue Dec 21, 2004 8:00 pm

Cannot place data from a variable into a Dialog Edit box

Post by gpapp » Thu Aug 04, 2005 7:13 pm

Thanks for the suggestion, I will try it out soon.
-gpapp
gpapp

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts