Hi,
I've a dialog, and add controls with the code.
Now I also want to remove control with the code.
What I've got is this:
oDlgModel.removeByName("controlName")
oContrl = oDocDlg.getControl("controlName")
oDocDlg.removeControl(oContrl)
Result:
- control does not exist on the model
( oDocDlg.getModel.getByName("controlName").Text
gives noSuchElementFound exception )
- but control is still visible.
So I miss how to remove the control from the view, or how to refresh teh
view.
Any suggestion?
Thanks,
--
Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]