blob: f08026f8bcd7ef3e3f5ce30029af61df3f4a10dd (
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
|
<?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="textsbasicshared01170103xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Events</title>
<filename>/text/sbasic/shared/01170103.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<section id="ereignisse">
<paragraph role="heading" id="hd_id3155506" xml-lang="en-US" level="1"><link href="text/sbasic/shared/01170103.xhp" name="Events">Events</link></paragraph>
<paragraph role="paragraph" id="par_id3146114" xml-lang="en-US">Define event assignments for the selected control or dialog. The available events depend on the type of control selected.</paragraph>
</section>
<paragraph role="heading" id="hd_id3145387" xml-lang="en-US" level="2">When receiving focus</paragraph>
<paragraph role="paragraph" id="par_id3155090" xml-lang="en-US"><ahelp hid="HID_EVT_FOCUSGAINED">This event takes place if a control receives the focus.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3152892" xml-lang="en-US" level="2">When losing focus</paragraph>
<paragraph role="paragraph" id="par_id3153305" xml-lang="en-US"><ahelp hid="HID_EVT_FOCUSLOST">This event takes place if a control loses the focus.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3152896" xml-lang="en-US" level="2">Key pressed</paragraph>
<paragraph role="paragraph" id="par_id3148837" xml-lang="en-US"><ahelp hid="HID_EVT_KEYTYPED">This event occurs when the user presses any key while the control has the focus.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3146869" xml-lang="en-US" level="2">Key released</paragraph>
<paragraph role="paragraph" id="par_id3155267" xml-lang="en-US"><ahelp hid="HID_EVT_KEYUP">This event occurs when the user releases a key while the control has the focus.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3159096" xml-lang="en-US" level="2">Modified</paragraph>
<paragraph role="paragraph" id="par_id3156019" xml-lang="en-US"><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>
<paragraph role="heading" id="hd_id3144508" xml-lang="en-US" level="2">Text modified</paragraph>
<paragraph role="paragraph" id="par_id3148608" xml-lang="en-US"><ahelp hid="HID_EVT_TEXTCHANGED">This event takes place if you enter or modify a text in an input field.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3159207" xml-lang="en-US" level="2">Item status changed</paragraph>
<paragraph role="paragraph" id="par_id3155097" xml-lang="en-US"><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>
<paragraph role="heading" id="hd_id3151304" xml-lang="en-US" level="2">Mouse inside</paragraph>
<paragraph role="paragraph" id="par_id3152871" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEENTERED">This event takes place when the mouse enters the control.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3146778" xml-lang="en-US" level="2">Mouse moved while key pressed</paragraph>
<paragraph role="paragraph" id="par_id3150403" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEDRAGGED">This event takes place when the mouse is dragged while a key is pressed.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3150210" xml-lang="en-US" level="2">Mouse moved</paragraph>
<paragraph role="paragraph" id="par_id3149697" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEMOVED">This event takes place when the mouse moves over the control.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3145216" xml-lang="en-US" level="2">Mouse button pressed</paragraph>
<paragraph role="paragraph" id="par_id3155914" xml-lang="en-US"><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>
<paragraph role="heading" id="hd_id3148899" xml-lang="en-US" level="2">Mouse button released</paragraph>
<paragraph role="paragraph" id="par_id3153812" xml-lang="en-US"><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>
<paragraph role="heading" id="hd_id3153556" xml-lang="en-US" level="2">Mouse outside</paragraph>
<paragraph role="paragraph" id="par_id3153013" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when the mouse leaves the control.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3155759" xml-lang="en-US" level="2">While adjusting</paragraph>
<paragraph role="paragraph" id="par_id3156364" xml-lang="en-US"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when a scrollbar is being dragged.</ahelp></paragraph>
</body>
</helpdocument>
|