| View previous topic :: View next topic |
| Author |
Message |
leigh General User

Joined: 03 Jan 2006 Posts: 7
|
Posted: Mon Jan 09, 2006 7:45 pm Post subject: how to activate other opened cac files. |
|
|
Anyone help?
The scenario is, i have different opened calc files. (namely : calc1.sxc, calc2.sxc and calc3.sxc). The currently active cacl file is calc3. I need to reactivate calc1. How will I do this.
Thanks in advance. |
|
| Back to top |
|
 |
LarsB OOo Advocate


Joined: 31 Aug 2005 Posts: 445 Location: Hamburg, Germany
|
Posted: Mon Jan 09, 2006 9:14 pm Post subject: getComponentWindow |
|
|
Hi,
if you want to set calc3 as active window (focus) you can call on it's frame
getComponentWindow().setFocus(). Hope this helps
Cheers
LarsB _________________ AODC - A free OpenDocument Converter
AODL - An independent OpenDocument Library C#
EmbeddedOpenOffice .net UserControl C#
EmbeddedOpenOffice Visual Studio .net Add In
http://www.OpenDocument4all.com/ |
|
| Back to top |
|
 |
|