Hello to all,
i am writing a calc's macro which use a dialog box.
The macro can add/hide/remove controls in relation to some values present in the sheet.
I'm having trouble looking how to remove/delete a control.
Can someone help me?
Many thanks in advance.
[Solved] Remove control from dialog at runtime
[Solved] Remove control from dialog at runtime
Last edited by Hagar Delest on Sun Oct 17, 2021 9:09 pm, edited 1 time in total.
Reason: Tagged [Solved].
Reason: Tagged [Solved].
LibreOffice 7.2.0 on Windows 10 64bits
Re: Remove control from dialog at runtime
Code: Select all
dlg.getcontrol(controlname).dispose
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Re: [SOLVED] Remove control from dialog at runtime
Many thanks JeJe
LibreOffice 7.2.0 on Windows 10 64bits