Difference between revisions of "Commandbutton"
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
+ | ====Description==== | ||
+ | Shown below in a standalone [[Form]]. Click the image to see in a [[Custom_Sections_and_Gadgets|Custom Section]] in a Lianja [[Page Attributes|Page]]. | ||
+ | |||
+ | [[{{ns:file}}:commandgroup_commandbutton.png|link={{filepath:commandgroup_commandbutton_cs.png}}|Commandgroup, Commandbutton]] | ||
+ | |||
+ | A command button is typically used to start an event that performs an action such as closing a form, moving to a different record, printing a report, and so on. Use the CommandGroup control to create a set of command buttons that you can manipulate individually or as a group. | ||
+ | |||
+ | Use the Caption property to specify the text that appears on a command button. Use the Picture property to specify a picture for a command button. | ||
====Properties==== | ====Properties==== | ||
− | This class supports the | + | This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: |
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
!width="20%"|Property | !width="20%"|Property | ||
!Access (R/RW) | !Access (R/RW) | ||
Line 11: | Line 20: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | | | + | |Caption |
|RW | |RW | ||
|Character | |Character | ||
|Text displayed in the object's caption | |Text displayed in the object's caption | ||
|- | |- | ||
− | | | + | |Flat |
|RW | |RW | ||
− | | | + | |Boolean |
− | | | + | |If True, only highlighted when the mouse pointer moves over it |
|- | |- | ||
|Picture | |Picture | ||
Line 25: | Line 34: | ||
|Character | |Character | ||
|Filename of image displayed | |Filename of image displayed | ||
+ | |- | ||
+ | |Text | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text displayed in the object's caption | ||
|- | |- | ||
|} | |} | ||
Line 30: | Line 44: | ||
====Methods==== | ====Methods==== | ||
− | This class supports the | + | This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: |
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
!width="20%"|Method | !width="20%"|Method | ||
!Args | !Args | ||
Line 41: | Line 55: | ||
====Events==== | ====Events==== | ||
− | This class supports the | + | This class supports the [[:Category:Common_Events|Common Events]] plus the following: |
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
!width="20%"|Event | !width="20%"|Event | ||
!Args | !Args |
Latest revision as of 11:02, 9 April 2018
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Contents
Description
Shown below in a standalone Form. Click the image to see in a Custom Section in a Lianja Page.
A command button is typically used to start an event that performs an action such as closing a form, moving to a different record, printing a report, and so on. Use the CommandGroup control to create a set of command buttons that you can manipulate individually or as a group.
Use the Caption property to specify the text that appears on a command button. Use the Picture property to specify a picture for a command button.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Text displayed in the object's caption |
Flat | RW | Boolean | If True, only highlighted when the mouse pointer moves over it |
Picture | RW | Character | Filename of image displayed |
Text | RW | Character | Text displayed in the object's caption |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|