Posts: 28
Threads: 12
Joined: Apr 2008
is there a code to make sure someone has filled in all the edits of a dialog before the file will run, else it will prompt them with a system message?
thanks
Posts: 160
Threads: 43
Joined: Sep 2007
maybe this will work
Function
Function6
int i
ARRAY(int) a.create(10000)
for(i 0 0) a[i]=id(0+i "Dialog" 1)
rep 1000
,0.001
,i+1
,out i
,str edit1.getwintext(id(i win("Dialog" "#32770"))); err
,if edit1=""
,,mes "Please input info"
,,act id(3 win("Dialog" "#32770"))
Posts: 160
Threads: 43
Joined: Sep 2007
sry this 1
Function
Function6
int i
ARRAY(int) a.create(10000)
for(i 0 0) a[i]=id(0+i "Dialog" 1)
rep 1000
,0.001
,i+1
,out i
,str edit1.getwintext(id(i win("Dialog" "#32770"))); err
,if edit1=""
,,mes "Please input info"
,,act id(i win("Dialog" "#32770"))
Posts: 28
Threads: 12
Joined: Apr 2008