Hi Laurent, >>how to switch Design Mode on/off via macro in Calc? > > did you try > thisComponent.ApplyFormDesignMode = true|false
This changes the initial form design mode, which is used when opening the document. For switching the current design mode, you need to dispatch the URL .uno:SwitchControlDesignMode to the document's frame. I don't have a code snippet at hand for this currently, anybody else? Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Database http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
