How to assign a macro to the opening of a dialog [closed]

asked 2015-03-18 18:35:10 +0200

riq.willitts gravatar image

In LibreOffice Base, I open a dialog from a Basic macro. When the dialog is displayed, I want to run another macro to fill in initial field values. Within a form, as opposed to a dialog, the properties of the controls contain a form property which allows setting properties for the form. Within a dialog there appears to be no way to assign a macro to an event such as open dialog.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-08-17 19:37:05.517811


A code sample would help. A common workaround would be to pop up a small form instead of a dialog box. The small form could have the commands you need, and would have only a slightly different aesthetic.

doug gravatar imagedoug ( 2015-03-19 02:23:35 +0200 )edit