N
news.rcn.com
I have a user form with text boxes within a frame and a button outside the
frame. In the _AfterUpdate() handler for the text boxes, I want to set
focus to the button. When I try this, is get a "unexpected call to method
or property access" error.
If I move the button into the frame SetFocus works.
If I try to set the caption of the button when it is outside the frame, it
works.
Can anyone explain what's happening here? and how to do the set focus?
Also, I only want the frame to group the edits; I don't want it to have any
functional impact. Is there another way to achieve this?
If it makes any difference, this is in the visual basic editor in Word.
I thank you for your help.
Jim Cant
frame. In the _AfterUpdate() handler for the text boxes, I want to set
focus to the button. When I try this, is get a "unexpected call to method
or property access" error.
If I move the button into the frame SetFocus works.
If I try to set the caption of the button when it is outside the frame, it
works.
Can anyone explain what's happening here? and how to do the set focus?
Also, I only want the frame to group the edits; I don't want it to have any
functional impact. Is there another way to achieve this?
If it makes any difference, this is in the visual basic editor in Word.
I thank you for your help.
Jim Cant