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.CurrentController.getControl( controlModel ) control.setFocus() should do. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]