Dialog Box Default Values Problem

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Mundekis
Newbie
Posts: 16
Joined: Fri Apr 18, 2003 10:15 pm

Dialog Box Default Values Problem

Post by Mundekis » Wed Apr 23, 2003 12:51 pm

OS-Win2000
Ver-7.2.032

I can not get the memory Variables to default back to their default value after the OK button is pushed is there some changes that I need to make to this example script.

Dialog>MyDialog
Caption=This is My Dialog
Left=300
Top=300
Width=305
Height=120
Label=Type Something Here:,5,5
Edit=MyEdit,5,22,230,EditText
Button=Display,240,22,50,20,3
Button=Exit Macro,5,50,100,20,2
Line Three
CheckBox=chkMyCheckBox,Play Chimes?,130,50,150,False
EndDialog>MyDialog

Let>EditText=Enter Something Here and Press Display
Label>MainLoop
Show>MyDialog,result
If>result=2,End
If>result=3,SayHello
if>MyDialog.chkMyCheckBox=True,PlayWav
Goto>MainLoop

SRT>SayHello
MessageModal>%MyDialog.MyEdit%
END>SayHello

SRT>PlayWav
PlayWav>Chimes.wav
End>PlayWav

Label>End

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

Post by support » Fri Apr 25, 2003 9:33 am

Hi,

This is a known issue which has been resolved in the forthcoming maintenance update which will be released today all being well.
MJT Net Support
[email protected]

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