Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
filling in edits
#1
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
#2
maybe this will work
Function Function6
Code:
Copy      Help
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"))
#3
sry this 1
Function Function6
Code:
Copy      Help
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"))
#4
thanks perfect!


Forum Jump:


Users browsing this thread: 1 Guest(s)