Hallo all,
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 u
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
oviewcurs
Hello Fernand,
> 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)
something like
controlModel = ThisComponent.DrawPage.Forms.getByName( "formName"). _
getByName( "controlName" )
control = ThisComponent.CurrentCont
Cor and Frank,
Frank Schönheit - Sun Microsystems Germany wrote:
Hello Fernand,
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)
something like
it works like a charm, i will never understand the difference bet
Hi Fernand,
> it works like a charm, i will never understand the difference between
> Model and Control :-)
A model exists exactly once - like the document in which it lives exists
once, even if you do a "Window / New Window", which opens a new window
where the very same document is displayed. S