I can show you how to do it, help you do it or I can do it for you
It is your choice


First steps with OOoBasic

(at : https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Basic_Source_Editor_and_Debugger)

The Basic editor and debugger of the IDE window is shown when the user edits a Sub or Function from the Tools - Macros - Organize Macros - OpenOffice.org Basic dialog.
In this mode, the window contains the actual editor main window, debugger Watch window to display variable values and the debugger Calls window to display the Basic call stack.
The editor supports common editor features. Since the editor is only used for the OpenOffice.org Basic programming language, it supports a Basic syntax specific highlighting and F1 help for Basic keywords.

 

(at : https://help.libreoffice.org/Basic/Creating_a_Basic_Dialog)

    1. - Choose Tools - Macros - Organize Dialogs, and then click New.
    2. - Enter a name for the dialog, and click OK.
        - To rename the dialog later, right-click the name on the tab, and choose Rename.
    3. - Click Edit. The Basic dialog editor opens and contains a blank dialog.
    4. - If you do not see the Toolbox bar, click the arrow next to the Insert Controls icon to open the Toolbox bar.
    5. - Click a tool and then drag in the dialog to create the control.

 

(at : https://help.libreoffice.org/Basic/Programming_Examples_for_Controls_in_the_Dialog_Editor)

Be consistent with uppercase and lowercase letter when you attach a control to an object variable.

    1. - Global Function for Loading Dialogs
    2. - Displaying a Dialog
    3. - Read or Edit Properties of Controls in the Program
    4. - Add an Entry to a ListBox
    5. - Remove an Entry from a ListBox
    6. - Related Topics

 

 

    coche.gif The most important source is :

Macros explained by Andrew D. Pitonyak


left arrow Back home

 

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.