Difference between revisions of "Commandbutton"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(3 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==== | ||
Line 10: | Line 19: | ||
!Value | !Value | ||
!width="50%"|Description | !width="50%"|Description | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|Caption | |Caption | ||
Line 30: | Line 34: | ||
|Character | |Character | ||
|Filename of image displayed | |Filename of image displayed | ||
+ | |- | ||
+ | |Text | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text displayed in the object's caption | ||
|- | |- | ||
|} | |} |
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 |
---|