summaryrefslogtreecommitdiff
path: root/docs/xml/gui/fpg_button.xml
blob: ca39c92e9ad5a70820df21b3862098ab96eb4cfe (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
<?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
  <package name="fpGUI">
    <module name="fpg_button">
      <short>This unit defines the push button classes.</short>
      <element name="TImageLayout">
        <short>Enum type defining the position of images inside a Button</short>
      </element>
      <element name="TImageLayout.ilImageLeft">
        <short>Image to the left of the button text.</short>
      </element>
      <element name="TImageLayout.ilImageTop">
        <short>Image above the button text.</short>
      </element>
      <element name="TImageLayout.ilImageRight">
        <short>Image to the right of the button text.</short>
      </element>
      <element name="TImageLayout.ilImageBottom">
        <short>Image below the button text.</short>
      </element>
      <element name="TfpgBaseButton">
        <short>Base class that represents a push button control</short>
      </element>
      <element name="TfpgBaseButton.ImageLayout">
        <short>Defines where on the button the image will be displayed</short>
      </element>
      <element name="TfpgBaseButton.ImageSpacing">
        <short>The spacing between the Image and the Text</short>
        <descr>The <var>ImageSpacing</var> value is in pixels. The value range
is from -1 to any positive value. -1 has a special meaning and is also the
default value. When ImageSpacing equals -1, then the spacing between the button
image and the button text is automatically calculated so that the button text
is centred in the available horizontal space of the button.</descr>
      </element>
      <element name="TfpgBaseButton.ImageName">
        <short>The registered name of a image to display on the button</short>
        <descr>
          <printshort id="#fpgui.fpg_button.TfpgBaseButton.ImageName"/>. This is the name used when
a image resource was registered with the global <link id="#fpgui.fpg_main.fpgImages">fpgImages</link> instance.</descr>
      </element>

      <element name="TfpgButton">
        <short>Concrete button class used in user interfaces to represent a push button</short>
        <descr><printshort id="#fpgui.fpg_button.TfpgButton"/>. This class is a 
descendant of <link id="#fpgui.fpg_button.TfpgBaseButton">TfpgBaseButton</link> and
simply publishes various properties for runtime type information.</descr>
        <seealso>
          <link id="#fpgui.fpg_button.TfpgBaseButton">TfpgBaseButton</link>
        </seealso>
      </element>

<element name="TfpgButton.ImageName" link="#fpgui.fpg_button.TfpgBaseButton.ImageName"/>
<element name="TfpgButton.ImageSpacing" link="#fpgui.fpg_button.TfpgBaseButton.ImageSpacing"/>
<element name="TfpgButton.ImageLayout" link="#fpgui.fpg_button.TfpgBaseButton.ImageLayout"/>
<element name="TfpgButton.Left" link="#fpgui.fpg_base.TfpgWindowBase.Left"/>
<element name="TfpgButton.Height" link="#fpgui.fpg_base.TfpgWindowBase.Height"/>

    </module>
  </package>
</fpdoc-descriptions>