Difference between revisions of "Documentation/DevGuide/Basic/Buttons"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (FINAL VERSION FOR L10N)
m
Line 9: Line 9:
 
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Basic/{{SUBPAGENAME}}}}  
 
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Basic/{{SUBPAGENAME}}}}  
 
  {{DISPLAYTITLE:Buttons}}
 
  {{DISPLAYTITLE:Buttons}}
On the right-hand side of the '''{{PRODUCTNAME}} Basic Macros''' dialog, there are several buttons. The following list describes the buttons:
+
On the right-hand side of the '''{{AOO}} Basic Macros''' dialog, there are several buttons. The following list describes the buttons:
  
 
* '''Run'''
 
* '''Run'''
:Executes the Sub or Function currently displayed in the Macro name edit field. The {{PRODUCTNAME}} Basic Macros dialog is closed, before the macro is executed.
+
:Executes the Sub or Function currently displayed in the Macro name edit field. The {{AOO}} Basic Macros dialog is closed, before the macro is executed.
 
* '''Close'''
 
* '''Close'''
:Closes the {{PRODUCTNAME}} Basic Macros dialog without any further action.
+
:Closes the {{AOO}} Basic Macros dialog without any further action.
 
* '''Assign'''
 
* '''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 [[Documentation/DevGuide/Basic/Assigning Macros to GUI Events|Assigning Macros to GUI Events]] below.
 
: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 [[Documentation/DevGuide/Basic/Assigning Macros to GUI Events|Assigning Macros to GUI Events]] below.

Revision as of 13:30, 9 January 2020



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 OpenOffice.org Basic Macro Organizer dialog box that is explained in the next section.
  • Help
Starts the OpenOffice.org help system with the Macros topic.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages