1<?xml version="1.0" encoding="UTF-8"?> 2 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23 24<helpdocument version="1.0"> 25<meta> 26<topic id="textsbasicshared01170103xml" indexer="include" status="PUBLISH"> 27<title id="tit" xml-lang="en-US">Events</title> 28<filename>/text/sbasic/shared/01170103.xhp</filename> 29</topic> 30</meta> 31<body> 32<section id="ereignisse"> 33<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> 34<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> 35</section> 36<paragraph role="heading" id="hd_id3145387" xml-lang="en-US" level="2" l10n="U" oldref="16">When receiving focus</paragraph> 37<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> 38<paragraph role="heading" id="hd_id3152892" xml-lang="en-US" level="2" l10n="U" oldref="18">When losing focus</paragraph> 39<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> 40<paragraph role="heading" id="hd_id3152896" xml-lang="en-US" level="2" l10n="U" oldref="20">Key pressed</paragraph> 41<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> 42<paragraph role="heading" id="hd_id3146869" xml-lang="en-US" level="2" l10n="U" oldref="43">Key released</paragraph> 43<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> 44<paragraph role="heading" id="hd_id3159096" xml-lang="en-US" level="2" l10n="U" oldref="41">Modified</paragraph> 45<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> 46<paragraph role="heading" id="hd_id3144508" xml-lang="en-US" level="2" l10n="U" oldref="10">Text modified</paragraph> 47<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> 48<paragraph role="heading" id="hd_id3159207" xml-lang="en-US" level="2" l10n="U" oldref="8">Item status changed</paragraph> 49<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> 50<paragraph role="heading" id="hd_id3151304" xml-lang="en-US" level="2" l10n="U" oldref="26">Mouse inside</paragraph> 51<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> 52<paragraph role="heading" id="hd_id3146778" xml-lang="en-US" level="2" l10n="U" oldref="30">Mouse moved while key pressed</paragraph> 53<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> 54<paragraph role="heading" id="hd_id3150210" xml-lang="en-US" level="2" l10n="U" oldref="32">Mouse moved</paragraph> 55<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> 56<paragraph role="heading" id="hd_id3145216" xml-lang="en-US" level="2" l10n="U" oldref="22">Mouse button pressed</paragraph> 57<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> 58<paragraph role="heading" id="hd_id3148899" xml-lang="en-US" level="2" l10n="U" oldref="24">Mouse button released</paragraph> 59<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> 60<paragraph role="heading" id="hd_id3153556" xml-lang="en-US" level="2" l10n="U" oldref="28">Mouse outside</paragraph> 61<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> 62<paragraph role="heading" id="hd_id3155759" xml-lang="en-US" level="2" l10n="U" oldref="45">While adjusting</paragraph> 63<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> 64</body> 65</helpdocument> 66