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 between
Model and Control :-)
thanks a milijon
controlModel = ThisComponent.DrawPage.Forms.getByName( "formName"). _
getByName( "controlName" )
control = ThisComponent.CurrentController.getControl( controlModel )
control.setFocus()
should do.
Ciao
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]