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="textsbasicguideinsert_controlxml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Creating Controls in the Dialog Editor</title>
28<filename>/text/sbasic/guide/insert_control.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3149182">
33<bookmark_value>controls; creating in the dialog editor</bookmark_value>
34<bookmark_value>dialog editor;creating controls</bookmark_value>
35</bookmark>
36<paragraph role="heading" id="hd_id3149182" xml-lang="en-US" level="1" l10n="U"><variable id="insert_control"><link href="text/sbasic/guide/insert_control.xhp" name="Creating Controls in the Dialog Editor">Creating Controls in the Dialog Editor</link>
37</variable></paragraph>
38<paragraph role="paragraph" id="par_id3146797" xml-lang="en-US" l10n="CHG">Use the tools on the <emph>Toolbox</emph> of the BASIC dialog editor to add controls to your dialog.</paragraph>
39<list type="ordered">
40<listitem>
41<paragraph role="listitem" id="par_id3150276" xml-lang="en-US" l10n="CHG">To open the <emph>Toolbox</emph>, click the arrow next to the <emph>Insert Controls</emph> icon on the <emph>Macro</emph> toolbar.</paragraph>
42</listitem>
43<listitem>
44<paragraph role="listitem" id="par_id3145068" xml-lang="en-US" l10n="U">Click a tool on the toolbar, for example, <emph>Button</emph>.</paragraph>
45</listitem>
46<listitem>
47<paragraph role="listitem" id="par_id3153360" xml-lang="en-US" l10n="U">On the dialog, drag the button to the size you want.</paragraph>
48</listitem>
49</list>
50<section id="relatedtopics">
51<embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
52<embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
53<embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
54<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
55</section>
56</body>
57</helpdocument>
58