Hi Andrew,

> But that still leaves this question. I have yet to be able to get a form
> to close by calling Form.close(True), is there something I am missing.
> It would be cleaner then using the Frame.

Sure it would, but currently it's not possible :-\

As a workaround, try opening the form a second time, this should simply
raise the respective frame, and return the respective form document
component, which you can close then. Do you think this is feasible?

API-wise, a quick solution would be to support a respective command in
the |execute| method. A better solution would probably care for future
requirements such as opening a form multiple times - if you do so, a
simple formDef.close cannot decide which instance to close. Hmm, not
sure at the moment.

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]

Reply via email to