Dialog values need refreshing

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Dialog values need refreshing

Post by Bob Hansen » Thu Mar 27, 2003 6:34 am

Using 7.2.028

:arrow: I have been using Dialog and at times have jumped out with error messages to notify user about data entry errors. After message I jump baclk to Show> to see the Dialog box again. But the values that were already entered are now gone. I have been unable to come up with a method of keeping the values on Dialog close, and renter the values when jumping back. :oops:

:!: I am now thinking about writing the values to an ini file, show the message, jump back to show the Dialog window again, putting the focus in the window, reading the ini file as I tab from field to field to Send/Paste values from the ini file. That sounds like more work than I care to do right now. :( :(

I am sure someone has an easier method to share with us? :?:

:!: Perhaps a Show> with an option to refresh values in the future? YES! that will be great.....terrific idea, great minds think alike :lol:
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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

Post by support » Thu Mar 27, 2003 3:14 pm

Hi,

Just use variables for all the default values. Set them as necessary before the Show command.
MJT Net Support
[email protected]

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