Hi, to reproduce the problem: Create a text document with two pages; on page one a xTextRange and on page two a push button which triggers the following snippet: oViewCursor.GotoRange(xTextRange, False) 'or 'oDoc.CurrentController.Select(xTextRange) oViewCursor.SetVisible(true)
The xTextRange is selected, but the user can not write immediately after clicking the push button, because the button has the focus yet. And curious: msgbox "Where's the cursor?" oViewCursor.GotoRange(xTextRange, False) 'or 'oDoc.CurrentController.Select(xTextRange) oViewCursor.SetVisible(true) Now the user is confused, because he won't see the selection but the control. For example the push button is used for checking the layout in big documents (made all necessary entries? all placeholders are deleted? etc.). Any hints? Regards Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
