From a9deae83c3b11cdb138069b97f3cd6111ff6a19f Mon Sep 17 00:00:00 2001 From: Travis Stewart Date: Thu, 1 Oct 2020 02:28:24 +0200 Subject: Fix spelling from UK English to US English Change-Id: I5b1f9a65581945e8ec79f83728175d36f38a63eb Reviewed-on: https://gerrit.libreoffice.org/c/help/+/103662 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- source/text/sbasic/python/python_listener.xhp | 2 +- source/text/sbasic/shared/compatibilitymode.xhp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/text/sbasic/python/python_listener.xhp b/source/text/sbasic/python/python_listener.xhp index c6cdd39f56..6cffde6a6c 100644 --- a/source/text/sbasic/python/python_listener.xhp +++ b/source/text/sbasic/python/python_listener.xhp @@ -29,7 +29,7 @@

Creating Event Listeners

Events raised by dialogs, documents, forms or graphical controls can be linked to macros, which is referred to as event-driven programming. The most common method to relate events to macros are the Events tab in Tools – Customize menu and the Dialog Editor Control properties pane from Tools - Macros – Organise Dialogs... menu. - Graphical artifacts, keyboard inputs, mouse moves and other man/machine interactions can be controlled using UNO listeners that watch for the user’s behaviour. Listeners are dynamic program code alternatives to macro assignments. One may create as many UNO listeners as events to watch for. A single listener can also handle multiple user interface controls. + Graphical artifacts, keyboard inputs, mouse moves and other man/machine interactions can be controlled using UNO listeners that watch for the user’s behavior. Listeners are dynamic program code alternatives to macro assignments. One may create as many UNO listeners as events to watch for. A single listener can also handle multiple user interface controls.

Creating an event listener

Listeners get attached to controls held in dialogs, as well as to document or form events. Listeners are also used when creating runtime dialogs or when adding controls to a dialog on the fly. This example creates a listener for Button1 control of Dialog1 dialog in Standard library. diff --git a/source/text/sbasic/shared/compatibilitymode.xhp b/source/text/sbasic/shared/compatibilitymode.xhp index 6340361b93..ef2ac443b6 100644 --- a/source/text/sbasic/shared/compatibilitymode.xhp +++ b/source/text/sbasic/shared/compatibilitymode.xhp @@ -29,7 +29,7 @@ Creating enumerations with Enum statement Running RmDir command in VBA mode. In VBA only empty directories are removed by RmDir while %PRODUCTNAME Basic removes a directory recursively. - Changing behaviour of Basic Dir command. The directory flag (16) for the Dir command means that only directories are returned in %PRODUCTNAME Basic, while in VBA normal files and directories are returned. + Changing behavior of Basic Dir command. The directory flag (16) for the Dir command means that only directories are returned in %PRODUCTNAME Basic, while in VBA normal files and directories are returned. CompatibilityMode() function may be necessary when resorting to Option Compatible or Option VBASupport compiler modes. -- cgit