I have a userform in which the user has entered text.
The user then enters a data click on the Microstation screen (which removes the focus from the form).
After the VBA program completes a task, I want the form to become active again, and display the insertion point where it was last (in the text box). I don't seem to be able to do this.
The form itself doesn't seem to have an Activate or SetFocus method. When I tried to use the .SetFocus method of the text box, the form doesn't become active, and the textbox doesn't display the insertion point anymore.
Can anyone help?
Regards,Graham
Is the form modal or non-modal? In the non-modal case the form can stay on the screen. In the modal case you probably need to just show the form again.
HTH,
mark anderson [Bentley]
Visit me at https://communities.bentley.com/communities/other_communities/bentley_innovation/default.aspx
It's non-modal (property showmodal = false). The form stays on the screen.