Hi QuazzieEvil,
Similarly to the OP in this thread I want to hide most form design toolbars from a base form when in "enter data" mode, whilst retaining them, of course, in Edit/Design mode.
May I say first I am quite surprised that this is not the default setting for OO forms? It would seems pretty obvious that the design toolbars need to be available when you are in design mode, but they get in the way and should be automatically hidden when one is entering data! As things are, the toolbars are displayed but inactive, does not look nice.
Anyway, I have installed the (excellent) BaseTools extension provided by Robert Benitez. I have created your F
orm_WhenLoading Macro in my document's macros. I have assigned it to a Form. It does work, but
only once! That is to say if I open my Base document in AOO (or LO) and open the form document to which I have attached the Form_WhenLoading Macro, it does hide all toobars. But, if I add toolbars from the View|Toolbars menu, then quit that form, upon re-opening the form, the Toolbars are there, the macro does not work!
To make the macro work again it is not enough to close the document, one needs to completely exit AOO or LO and re-open it, etc.
What I really want, and from my perusing these forums and the Web I know I am not the only one is quite simply a way to hide design toolbars when I am in enter data mode and to show them when I am designing a form.
Can that be achieved? TIA.
LO: LibreOffice 6.4.0.3 (x64) on Windows 10 64bits. Split database HSQL 2.3.4.