Frank Schönheit - Sun Microsystems Germany ha scritto:
Hi Laurent,
>>>how to switch Design Mode on/off via macro in Calc?
did you try thisComponent.ApplyFormDesignMode = true|false
Seems not work... !?
This changes the initial form design mode, which is used when opening the document.
Now I see.. :-)
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?
The while I found a old thread where Andrew Pitonyak get a complex code to resolve.
The macros work fine, but are 108 rows of code... :-( I found the thread on my HD, but no trace on the web... (?) Subject: [api-dev] setDesignMode on/off 10/11/2004 03:39 Can anyone found it? thank's Bart --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
