Hi Fernand,

Fernand Vanrie wrote (3-12-2008 14:37)

I trye to get with some basic codelines the "focus" off a textbox in a form (the cursor must be ready to fill in a text)

i tryed this code

oviewcursor =  thiscomponent.CurrentController.viewcursor.

myRange =  ofrom.Textbox1.start

oviewcursor.gotorange(myrange, false)

but get a unexplained error

My gues would be that the text range from the textbox is a different from that where you created the viewcursor.

Is the textbox also on the draw page of the document?


Cor Nouws    -    nl.OpenOffice.org marketing contact
=  "2008: The Year of 3"  =  www.nieuwsteoffice.nl  =

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to