summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/01/06140500.xhp
blob: 2cc0a6ccc8ba315ae0f42d6a43b7b2f915f3efaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<helpdocument version="1.0">
<meta>
  <topic id="textshared0106140500xml" indexer="include" status="PUBLISH">
  <title id="tit" xml-lang="en-US">Events</title>
  <filename>/text/shared/01/06140500.xhp</filename>
  </topic>
</meta>
<body>
<section id="ereignisse">
  <bookmark xml-lang="en-US" branch="index" id="bm_id3152427"><bookmark_value>customizing; events</bookmark_value>
    <bookmark_value>events; customizing</bookmark_value>
  </bookmark>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/eventsconfigpage/EventsConfigPage" id="bm_id1163922274" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/.uno:TableEvents" id="bm_id1163922275" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/macroassignpage/MacroAssignPage" id="bm_id1163922276" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/macroassignpage/@@nowidget@@" id="bm_id1163922276" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/macroassigndialog/MacroAssignDialog" id="bm_id1163922277" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/macroassigndialog/@@nowidget@@" id="bm_id1163922277" localize="false"/>
  <paragraph role="heading" id="hd_id3152427" xml-lang="en-US" level="1"><link href="text/shared/01/06140500.xhp" name="Events">Events</link></paragraph>
  <paragraph role="paragraph" id="par_id3152937" xml-lang="en-US"><variable id="assignaction"><ahelp hid=".">Assigns macros to program events. The assigned macro runs automatically every time the selected event occurs.</ahelp></variable></paragraph>
</section>
<section id="howtoget">
  <embed href="text/shared/00/00000406.xhp#events"/>
  <!-- Choose Dialog Editor - Properties View - Events tab. -->
</section>
<switch select="appl">
  <case select="CALC">
    <paragraph role="note" id="par_id317748820" xml-lang="en-US">The dialog box has reduced functionality when called from the Edit-Sheet menu of a spreadsheet.</paragraph>
  </case>
</switch>
<bookmark xml-lang="en-US" branch="hid/cui/ui/eventsconfigpage/savein" id="bm_id1163975" localize="false"/><paragraph role="heading" id="par_idN1060A" xml-lang="en-US" level="2">Save In</paragraph>
<paragraph role="paragraph" id="par_idN1060E" xml-lang="en-US"><ahelp hid="cui/ui/eventsconfigpage/savein">Select first where to save the event binding, in the current document or in %PRODUCTNAME.</ahelp></paragraph>
<paragraph role="note" id="par_id3153662" xml-lang="en-US">A macro that is saved with a document can only be run when that document is opened.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/eventsconfigpage/events" id="bm_id1800286" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/macroassignpage/assignments" id="bm_id18002861" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/CUI_HID_MACRO_HEADERTABLISTBOX" id="bm_id1800287" localize="false"/>
<paragraph role="paragraph" id="par_idN1061A" xml-lang="en-US"><ahelp hid=".">The big list box lists the events and the assigned macros. After you selected the location in the <emph>Save In</emph> list box, select an event in the big list box. Then click <emph>Assign Macro</emph>.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/macroassignpage/assign" id="bm_id755672891" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/eventsconfigpage/macro" id="bm_id752891" localize="false"/>
<paragraph role="heading" id="hd_id3159258" xml-lang="en-US" level="2">Assign Macro</paragraph>
<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US"><ahelp hid=".">Opens the <link href="text/shared/01/06130000.xhp">Macro Selector</link> to assign a macro to the selected event.</ahelp></paragraph>
<paragraph role="heading" id="hd_id751568966764822" xml-lang="en-US" level="2">Assign Component...</paragraph>
<paragraph role="paragraph" id="par_id111568966885228" xml-lang="en-US">Opens the <literal>Assign Component</literal> dialog to set a <link href="text/sbasic/python/python_handler.xhp">custom UNO command</link> for the selected event.</paragraph>
<paragraph role="note" id="par_id291568910019716" xml-lang="en-US">Component assignment is proposed for controls in the Dialog Editor.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/eventsconfigpage/delete" id="bm_id9109164.00000001" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/macroassignpage/delete" id="bm_id9109164341" localize="false"/>
<paragraph role="heading" id="hd_id3154046" xml-lang="en-US" level="2">Remove Macro</paragraph>
<paragraph role="paragraph" id="par_id3152349" xml-lang="en-US"><ahelp hid=".">Deletes the macro or component assignment for the selected event.</ahelp></paragraph>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id3159147" xml-lang="en-US"><link href="text/swriter/01/05060700.xhp" name="List of events">List of events</link></paragraph>
<embed href="text/shared/guide/configure_overview.xhp#configure_overview"/>
  <paragraph role="paragraph" id="par_id831568910303156"><link href="text/sbasic/python/python_handler.xhp" name="Creating a Dialog Handler">Creating a Dialog Handler</link></paragraph>
</section>
</body>
</helpdocument>