Context: LO 7.3.7.2, French version, Fmt .odt and .docx, GNU/Linux Ubuntu 22.04, Windows 10, novel writer, compatibility with .docx for external editors.
Hi everybody,
I have a Basic macro which toggles the behavior of the Enter key (when in dialogs it spits out an mdash and sets the current paragraph to a given style). Works fine.
I also have a custom button, in the standard toolbar, to enable the toggling of that behavior. Works fine.
But I also would like to show the current state On or Off by highlighting the button exactly as the § button, when the display of special characters is On.
What properties do I need to access to read the current state of the button and set it to the other state, by either highlighting or dis-highligting?
Thx in advance for your tips!
Kind regards,
Bernard