Hi again

If this was the last frame, the document should be closed automatically
(if not, it's a bug). If there are more frames, you can iterate through
them (CurrentController will point to the controller in the next frame,
after you closed the previous one). However, this is rather unlikely for
database documents, which to not have the "multiple views per document"
(Window|New window) feature, at least not in the usual sense.


i'll test that and let you know

dbdoc.currentController.Frame.close(false)

works

laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to