11-04-2008, 06:59 PM
At this point all I want to do is get the value when I press case 6. If I can do that I am sure that I can use it.
Example
if(but(id(12 win("Main Dialog" "#32770"))))
out "the button is checked"
This works but my question is why do I not get a (0 or a 1) for checked or not checked after I out
c4Che=, d.e9=, d.c12Che=, d.o3Opt=, d.o4Opt=, d.o5Opt=(null)
,case 6
,out "c4Che=%s, d.e9=%s, d.c12Che=%s, d.o3Opt=%s, d.o4Opt=%s, d.o5Opt=%s" d.e9 d.c12Che d.o3Opt d.o4Opt d.o5Opt
,EnableWindow(id(5 hDlg)1)
,t+1
,if(t = 2)
,,hid(id(5 hDlg))
,,hid(id(6 hDlg))
,,hid(id(2 hDlg))
,,hid(id(3 hDlg))
,,EnableWindow(id(6 hDlg)0)
,DT_Page(hDlg t)
case 5
Example
if(but(id(12 win("Main Dialog" "#32770"))))
out "the button is checked"
This works but my question is why do I not get a (0 or a 1) for checked or not checked after I out
c4Che=, d.e9=, d.c12Che=, d.o3Opt=, d.o4Opt=, d.o5Opt=(null)
,case 6
,out "c4Che=%s, d.e9=%s, d.c12Che=%s, d.o3Opt=%s, d.o4Opt=%s, d.o5Opt=%s" d.e9 d.c12Che d.o3Opt d.o4Opt d.o5Opt
,EnableWindow(id(5 hDlg)1)
,t+1
,if(t = 2)
,,hid(id(5 hDlg))
,,hid(id(6 hDlg))
,,hid(id(2 hDlg))
,,hid(id(3 hDlg))
,,EnableWindow(id(6 hDlg)0)
,DT_Page(hDlg t)
case 5