** form.CommonMethod() ** yada, yada, yada this.optionGroup.Value = 2 ** commandbutton.click() * blah, blah, blah thisform.CommonMethod() ** optionGroup.InteractiveChange() If this.Value = 2 thisform.CommonMethod() EndIfIf you really like having the code in the controls, use the optionGroup.ProgrammaticChange() and InteractiveChange() and set the optiongroup.value from the commandbutton, e.g.,
** commandbutton.click() * blah, blah, blah thisform.optionGroup.Value = 2 ** optionGroup.ProgrammaticChange() this.InteractiveChange() ** optionGroup.InteractiveChange() If this.Value = 2 ** yada, yada, yada EndIf>I have a optiongroup with 6 optionbuttons. From a command button I am calling a click event on option 2(thisform.optiongroup1.option2.click()) that works fine but my radio button does not move to optionbutton2. I thought this could be refresh issue but that did not help. So how can I move my radio button.