11-10-2007, 10:19 PM
Hey, i have this in my dialog to do these things after OK was pressed, it seems to skip over the if(...=...) even if it is checked......can anyone help me? here is that part of the dialog.
,case IDOK DT_Ok hDlg
,,str y.getwintext(id(7 hDlg))
,,if(o3NL=1)
,,,out "5 times"
,,if(o4Oma=1)
,,,out "21 times"
,,if(o5=1)
,,,out "15 times"
,,if(o6PL=1)
,,,out "12 times"
,,but+ id(44 "Times New")
,,str t.getwintext(id(5 hDlg))
,,y.setwintext(id(44 hDlg))
,,t.setwintext(id(41 hDlg))