Difference between revisions of "Documentation/DevGuide/Basic/Buttons"
From Apache OpenOffice Wiki
< Documentation | DevGuide
m |
m |
||
Line 24: | Line 24: | ||
:This button is only available if no existing Sub or Function is displayed in the '''Macro name''' edit field. The '''New''' button inserts a new Sub into the module selected in the tree. The new Sub is named according to the text in the '''Macro name''' edit field. If '''Macro name''' is empty, the Sub is automatically named Macro1, Macro2, and so forth. | :This button is only available if no existing Sub or Function is displayed in the '''Macro name''' edit field. The '''New''' button inserts a new Sub into the module selected in the tree. The new Sub is named according to the text in the '''Macro name''' edit field. If '''Macro name''' is empty, the Sub is automatically named Macro1, Macro2, and so forth. | ||
* '''Organizer''' | * '''Organizer''' | ||
− | :This button opens the '''{{ | + | :This button opens the '''{{AOO}} Basic Macro Organizer''' dialog box that is explained in the next section. |
* '''Help''' | * '''Help''' | ||
− | :Starts the {{ | + | :Starts the {{AOO}} help system with the Macros topic. |
{{PDL1}} | {{PDL1}} | ||
[[Category:Documentation/Developer's Guide/Basic and Dialogs]] | [[Category:Documentation/Developer's Guide/Basic and Dialogs]] |
Revision as of 13:31, 9 January 2020
- Displayed Information
- Buttons
On the right-hand side of the Apache OpenOffice Basic Macros dialog, there are several buttons. The following list describes the buttons:
- Run
- Executes the Sub or Function currently displayed in the Macro name edit field. The Apache OpenOffice Basic Macros dialog is closed, before the macro is executed.
- Close
- Closes the Apache OpenOffice Basic Macros dialog without any further action.
- Assign
- Opens the Customize dialog that can also be opened using Tools - Customize. This dialog can be used to assign Basic macros to events. For details see Assigning Macros to GUI Events below.
- Edit
- Loads the module selected in the tree into the Basic macro editor. The cursor is placed on the first line of the Sub or Function displayed in the Macro name edit field. See chapter Basic IDE Window below for details about the Basic macro editor. This button is disabled if there is no module selected in the tree or no existing Sub or Function displayed in the Macro name edit field.
- Delete
- This button is only available if an existing Sub or Function is displayed in the Macro name edit field. The Delete button removes the Sub or Function displayed in the Macro name edit field from the module selected in the module selected in the tree.
- New
- This button is only available if no existing Sub or Function is displayed in the Macro name edit field. The New button inserts a new Sub into the module selected in the tree. The new Sub is named according to the text in the Macro name edit field. If Macro name is empty, the Sub is automatically named Macro1, Macro2, and so forth.
- Organizer
- This button opens the Apache OpenOffice Basic Macro Organizer dialog box that is explained in the next section.
- Help
- Starts the Apache OpenOffice help system with the Macros topic.
Content on this page is licensed under the Public Documentation License (PDL). |