Hello Frank,
Frank Schönheit - Sun Microsystems Germany wrote:
i supose you have to "dispose" first te object ???
ocontrl.dispose
oDocDlg.removeControl(oContrl)
But this does work.
That's somewhat weird, as manual disposal should never be necessary.
Your original code was correct - removing the control model from the
dialog model should automatically also remove the control from the
dialog. If this isn't the case, please submit an issue. Thanks.
Thanks for your attention.
Pls see #76491
Best,
--
Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]