Hi there,
This is a known bug. You need to Refresh the control exlicitly using
Thisform.opgtype.Refresh()
If this doen't work,try
Thisform.opgtype.Value = Thisform.opgtype.Value
Thisform.opgtype.Refresh()
Bye
Jayesh
>I have a modal form having checkboxes, some optiongroups having 2 options, textboxes and some commandbuttons. In the first run of the form, everything works correctly i.e. when you click on checkbox, optionbuttons, you see the changes immediately. On clicking a button, another modal form is displayed. When that form terminates and the focus comes back in this form, the problem starts.
>
>Clicking on the optionbuttons/checkboxes do not immediately show the changed state. Tabbing out of the control is required for it to display its new state. Sometimes you see both the optionbuttons in a optiongroup selected.
>
>The controls are bound to variables and all the variables are present, when the form gets the focus again. What can be wrong?
- Jayesh