Hey there,
I have a dialog box that has 3 checkboxes, and I need to alter my code so that atleast one checkbox is checked before the user can continue.
here is the code of my dialog box:
Begin Dialog dlgFNR 140, 120, "FNR Attempt Dialog Box"
ButtonGroup .ButtonPressed
OkButton 20, 90, 60, 14
GroupBox 10, 10, 100, 70, "Attempted To Call"
CheckBox 15, 20, 91, 12, "Home Phone", .cbxHome
CheckBox 15, 35, 91, 12, "Alt1 Phone", .cbxAlt1
CheckBox 15, 50, 91, 12, "Alt2 Phone", .cbxAlt2
End Dialog
Dim dlgVar As dlgFNR
nRet = Dialog(dlgVar)
attempt_home = dlgVar.cbxHome
attempt_alt1 = dlgVar.cbxAlt1
attempt_alt2 = dlgVar.cbxAlt2
Any help would be great, thanks
I have a dialog box that has 3 checkboxes, and I need to alter my code so that atleast one checkbox is checked before the user can continue.
here is the code of my dialog box:
Begin Dialog dlgFNR 140, 120, "FNR Attempt Dialog Box"
ButtonGroup .ButtonPressed
OkButton 20, 90, 60, 14
GroupBox 10, 10, 100, 70, "Attempted To Call"
CheckBox 15, 20, 91, 12, "Home Phone", .cbxHome
CheckBox 15, 35, 91, 12, "Alt1 Phone", .cbxAlt1
CheckBox 15, 50, 91, 12, "Alt2 Phone", .cbxAlt2
End Dialog
Dim dlgVar As dlgFNR
nRet = Dialog(dlgVar)
attempt_home = dlgVar.cbxHome
attempt_alt1 = dlgVar.cbxAlt1
attempt_alt2 = dlgVar.cbxAlt2
Any help would be great, thanks