Hi,
I have made a simple test with only a radio and a combo. In the body of _event1 function, the following code works.
int nRadio = trGetN.radio.nVal; // get radio's value
out_int("radio=", nRadio); // output radio's value
if(nRadio == 1) // if the second option is selected
trGetN.combo.Enable = false; // disable combo
else
trGetN.combo.Enable = true; // other options, enable combo
return true; // return true to update the dialog
I hope this can work in your computer too.
Penn
OriginLab Technical Services