Ask Your Question

Revision history [back]

How is a macro assigned to a dialog control event?

Following the instructions of Pitonyak's "OpenOffic.org Macro Explained" Chapter 18 "Dialogs and Controls", I created a simple dialog with one button and tried to assign a macro (from the same library in which the dialog is defined) to mouse button up on that button. On preview, the dialog opens but clicking the button does nothing. I assigned a variety of my macros to every event of the button and none of them were triggered by anything I did to the button. Pitonyak mentions that he encountered problems assigning macros to dialog controls events under LO that he did not have under OO. His book is several years old. Have the problems not been fixed in three years?

How is a macro assigned to a dialog control event?

Following the instructions of Pitonyak's "OpenOffic.org Macro Explained" Chapter 18 "Dialogs and Controls", I created a simple dialog with one button and tried to assign a macro (from the same library in which the dialog is defined) to mouse button up on that button. On preview, the dialog opens but clicking the button does nothing. I assigned a variety of my macros to every event of the button and none of them were triggered by anything I did to the button. Pitonyak mentions that he encountered problems assigning macros to dialog controls events under LO that he did not have under OO. His book is several years old. Have the problems not been fixed in three years?OO.