I have a form, some buttons on form's footer and a subform.
When I am on subform , and the focus is on a control in the subform, to hide this control I have to remove the focus.
When I tried to move the focus to some controls on the form (parent) , I get an error when hiding last focused control (on subform) because this is still focused.
Of course , first I remove the focus and after that hiding.
If I am moving the focus to another control in the subform, it works well, but it doesn't work when trying to set focus on the parent form .
Somebody can explain whats the reason ?
Thanks
When I am on subform , and the focus is on a control in the subform, to hide this control I have to remove the focus.
When I tried to move the focus to some controls on the form (parent) , I get an error when hiding last focused control (on subform) because this is still focused.
Of course , first I remove the focus and after that hiding.
If I am moving the focus to another control in the subform, it works well, but it doesn't work when trying to set focus on the parent form .
Somebody can explain whats the reason ?
Thanks