Pomoc za LibreOffice 25.2
Specifies the macro to run when you click an image, frame, or an OLE object.
Lists the events that can trigger a macro. Only the events that are relevant to the selected object are listed.
The following table lists the object types and the events that can trigger a macro:
| Tšojenje | Event trigger | OLE-objekt | Wobraz | Wobłuk | Awtomatiski tekst | ImageMap area | Hyperwótkaz | 
|---|---|---|---|---|---|---|---|
| Na objekt kliknuś | object is selected | ✓ | ✓ | ✓ | |||
| Myška nad objektom | mouse pointer moves over the object | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Trigger Hyperlink | hyperlink that is assigned to the object is clicked | ✓ | ✓ | ✓ | ✓ | ||
| Myška objekt spušća | mouse pointer moves off the object | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Wobraz jo se wuspěšnje zacytał | image is loaded successfully | ✓ | |||||
| Zacytowanje wobraza njejo se raźiło | loading of the image is terminated by the user (for example, when downloading) | ✓ | |||||
| Wobraz njedajo se zacytaś | image is not successfully loaded | ✓ | |||||
| Input of alpha characters | text is inputted | ✓ | |||||
| Input of non-alpha characters | Nonprinting characters, such as tabs and line breaks, are entered | ✓ | |||||
| Wjelikosć wobłuka změniś | frame is resized | ✓ | |||||
| Wobłuk pśesunuś | frame is moved | ✓ | |||||
| Pśed zasajźowanim awtomatiskego teksta | before AutoText is inserted | ✓ | |||||
| Pó zasajźowanju awtomatiskego teksta | after AutoText is inserted | ✓ | 
For events that are linked to controls in forms, see Control properties or Form properties.
Specify the macro that executes when the selected event occurs.
Frames allow you to link certain events to a function that then decides if the event is handled by LibreOffice Writer or by the function. See the LibreOffice Basic Help for more information.
Lists the LibreOffice program and any open LibreOffice document. Within this list, select the location where you want to pick the macro from.
Lists the available macros. Select the macro that you want to assign to the selected event, and then click Assign.
Assigns the selected macro to the selected event.