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="textsbasicshared03132100xml" indexer="include" status="PUBLISH"> 27<title xml-lang="en-US" id="tit">GetGuiType Function [Runtime]</title> 28<filename>/text/sbasic/shared/03132100.xhp</filename> 29</topic> 30</meta> 31<body> 32<section id="getguitype"> 33<bookmark xml-lang="en-US" branch="index" id="bm_id3147143"> 34<bookmark_value>GetGuiType function</bookmark_value> 35</bookmark> 36<paragraph xml-lang="en-US" id="hd_id3155310" role="heading" level="1" l10n="U"><link href="text/sbasic/shared/03132100.xhp" name="GetGuiType Function [Runtime]">GetGuiType Function [Runtime]</link></paragraph> 37<paragraph xml-lang="en-US" id="par_id3152459" role="paragraph" l10n="U">Returns a numerical value that specifies the graphical user interface.</paragraph> 38</section> 39<paragraph xml-lang="en-US" id="par_id3153323" role="paragraph" l10n="U">This runtime function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.</paragraph> 40<paragraph xml-lang="en-US" id="hd_id3154894" role="heading" level="2" l10n="U">Syntax:</paragraph> 41<paragraph xml-lang="en-US" id="par_id3147143" role="paragraph" l10n="U">GetGUIType()</paragraph> 42<paragraph xml-lang="en-US" id="hd_id3149346" role="heading" level="2" l10n="U">Return value:</paragraph> 43<paragraph xml-lang="en-US" id="par_id3153748" role="paragraph" l10n="U">Integer</paragraph> 44<paragraph xml-lang="en-US" id="hd_id3149177" role="heading" level="2" l10n="U">Return values:</paragraph> 45<paragraph xml-lang="en-US" id="par_id3147242" role="paragraph" l10n="U">1: Windows</paragraph><comment>removed 3: Mac OS, see i95717</comment> 46<paragraph xml-lang="en-US" id="par_id3156152" role="paragraph" l10n="U">4: UNIX</paragraph> 47<paragraph xml-lang="en-US" id="hd_id3148685" role="heading" level="2" l10n="U">Example:</paragraph> 48<paragraph xml-lang="en-US" id="par_id3149233" role="paragraph" l10n="U">Sub ExampleEnvironment</paragraph> 49<paragraph xml-lang="en-US" id="par_id3145609" role="paragraph" l10n="U">MsgBox GetGUIType</paragraph> 50<paragraph xml-lang="en-US" id="par_id3145069" role="paragraph" l10n="U">End Sub</paragraph> 51</body> 52</helpdocument> 53