1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27<helpdocument version="1.0">
28<meta>
29<topic id="textsbasicshared01170103xml" indexer="include" status="PUBLISH">
30<title id="tit" xml-lang="en-US">Events</title>
31<filename>/text/sbasic/shared/01170103.xhp</filename>
32</topic>
33<history>
34<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
35<lastedited date="2006-02-24T10:33:30">converted from old format - fpe</lastedited>
36</history>
37</meta>
38<body>
39<section id="ereignisse">
40<paragraph role="heading" id="hd_id3155506" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01170103.xhp" name="Events">Events</link></paragraph>
41<paragraph role="paragraph" id="par_id3146114" xml-lang="en-US" l10n="U" oldref="2">Define event assignments for the selected control or dialog. The available events depend on the type of control selected.</paragraph><comment>UFI: removed all help ids</comment>
42</section>
43<paragraph role="heading" id="hd_id3145387" xml-lang="en-US" level="2" l10n="U" oldref="16">When receiving focus</paragraph>
44<paragraph role="paragraph" id="par_id3155090" xml-lang="en-US" l10n="U" oldref="17"><ahelp hid="HID_EVT_FOCUSGAINED">This event takes place if a control receives the focus.</ahelp></paragraph>
45<paragraph role="heading" id="hd_id3152892" xml-lang="en-US" level="2" l10n="U" oldref="18">When losing focus</paragraph>
46<paragraph role="paragraph" id="par_id3153305" xml-lang="en-US" l10n="U" oldref="19"><ahelp hid="HID_EVT_FOCUSLOST">This event takes place if a control loses the focus.</ahelp></paragraph>
47<paragraph role="heading" id="hd_id3152896" xml-lang="en-US" level="2" l10n="U" oldref="20">Key pressed</paragraph>
48<paragraph role="paragraph" id="par_id3148837" xml-lang="en-US" l10n="U" oldref="21"><ahelp hid="HID_EVT_KEYTYPED">This event occurs when the user presses any key while the control has the focus.</ahelp></paragraph>
49<paragraph role="heading" id="hd_id3146869" xml-lang="en-US" level="2" l10n="U" oldref="43">Key released</paragraph>
50<paragraph role="paragraph" id="par_id3155267" xml-lang="en-US" l10n="U" oldref="44"><ahelp hid="HID_EVT_KEYUP">This event occurs when the user releases a key while the control has the focus.</ahelp></paragraph>
51<paragraph role="heading" id="hd_id3159096" xml-lang="en-US" level="2" l10n="U" oldref="41">Modified</paragraph>
52<paragraph role="paragraph" id="par_id3156019" xml-lang="en-US" l10n="U" oldref="42"><ahelp hid="HID_EVT_CHANGED">This event takes place, when the control loses the focus and the contents of the control were changed since it lost the focus.</ahelp></paragraph>
53<paragraph role="heading" id="hd_id3144508" xml-lang="en-US" level="2" l10n="U" oldref="10">Text modified</paragraph>
54<paragraph role="paragraph" id="par_id3148608" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="HID_EVT_TEXTCHANGED">This event takes place if you enter or modify a text in an input field.</ahelp></paragraph>
55<paragraph role="heading" id="hd_id3159207" xml-lang="en-US" level="2" l10n="U" oldref="8">Item status changed</paragraph>
56<paragraph role="paragraph" id="par_id3155097" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="HID_EVT_ITEMSTATECHANGED">This event takes place if the status of the control field is changed, for example, from checked to unchecked.</ahelp></paragraph>
57<paragraph role="heading" id="hd_id3151304" xml-lang="en-US" level="2" l10n="U" oldref="26">Mouse inside</paragraph>
58<paragraph role="paragraph" id="par_id3152871" xml-lang="en-US" l10n="U" oldref="27"><ahelp hid="HID_EVT_MOUSEENTERED">This event takes place when the mouse enters the control.</ahelp></paragraph>
59<paragraph role="heading" id="hd_id3146778" xml-lang="en-US" level="2" l10n="U" oldref="30">Mouse moved while key pressed</paragraph>
60<paragraph role="paragraph" id="par_id3150403" xml-lang="en-US" l10n="U" oldref="31"><ahelp hid="HID_EVT_MOUSEDRAGGED">This event takes place when the mouse is dragged while a key is pressed.</ahelp></paragraph>
61<paragraph role="heading" id="hd_id3150210" xml-lang="en-US" level="2" l10n="U" oldref="32">Mouse moved</paragraph>
62<paragraph role="paragraph" id="par_id3149697" xml-lang="en-US" l10n="U" oldref="33"><ahelp hid="HID_EVT_MOUSEMOVED">This event takes place when the mouse moves over the control.</ahelp></paragraph>
63<paragraph role="heading" id="hd_id3145216" xml-lang="en-US" level="2" l10n="U" oldref="22">Mouse button pressed</paragraph>
64<paragraph role="paragraph" id="par_id3155914" xml-lang="en-US" l10n="U" oldref="23"><ahelp hid="HID_EVT_MOUSEPRESSED">This event takes place when the mouse button is pressed while the mouse pointer is on the control.</ahelp></paragraph>
65<paragraph role="heading" id="hd_id3148899" xml-lang="en-US" level="2" l10n="U" oldref="24">Mouse button released</paragraph>
66<paragraph role="paragraph" id="par_id3153812" xml-lang="en-US" l10n="U" oldref="25"><ahelp hid="HID_EVT_MOUSERELEASED">This event takes place when the mouse button is released while the mouse pointer is on the control.</ahelp></paragraph>
67<paragraph role="heading" id="hd_id3153556" xml-lang="en-US" level="2" l10n="U" oldref="28">Mouse outside</paragraph>
68<paragraph role="paragraph" id="par_id3153013" xml-lang="en-US" l10n="U" oldref="29"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when the mouse leaves the control.</ahelp></paragraph>
69<paragraph role="heading" id="hd_id3155759" xml-lang="en-US" level="2" l10n="U" oldref="45">While adjusting</paragraph>
70<paragraph role="paragraph" id="par_id3156364" xml-lang="en-US" l10n="U" oldref="46"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when a scrollbar is being dragged.</ahelp></paragraph>
71</body>
72</helpdocument>
73