Hey guys,
id like to deactivate a specifik list box if an other list box got switchen to answer No.
if choosed no, grey out/deactivate the one below.
is that somehow possible?
[Solved] Deactivate XML form list box
[Solved] Deactivate XML form list box
Last edited by MrProgrammer on Thu Jun 02, 2022 4:15 am, edited 1 time in total.
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
windows 10 - OpenOffice 4.1.11
Re: Deactivate XML form list box
I doubt that is something many people have experience of.
I would suggest you check the manual, check Help, and search the forum.
I wonder if you can read the value in the first and hide a section containing the second?
I would suggest you check the manual, check Help, and search the forum.
I wonder if you can read the value in the first and hide a section containing the second?
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Re: Deactivate XML form list box
That would be my approach. Make the code sequential - display Listbox1; if it returns True selected, then display Listbox2.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Deactivate XML form list box
The attached writer document has a second listbox enabled or not enabled depending on the first listbox value being changed to "No" or to something else instead. The listbox change event is used to call a one-line macro to set this.
- Attachments
-
- enable other listbox.odt
- (10.49 KiB) Downloaded 317 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)