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
Hi Peter,
add the following lines to the end of the macro that is executed when
the button is pressed:
xWindow = ThisComponent.currentController.Frame.ContainerWindow
xWindow.setFocus()
This sets the focus back to the document,
HTH, Steffen
Peter Eberlein wrote:
Hi,
to reproduce the
Hi Steffen,
thx for the fast answer,
Peter
Steffen Grund schrieb:
Hi Peter,
add the following lines to the end of the macro that is executed when
the button is pressed:
xWindow = ThisComponent.currentController.Frame.ContainerWindow
xWindow.setFocus()
This sets the focus back to the