Difference between revisions of "Commandbutton"
Barrymavin (Talk | contribs) (→Properties) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
====Description==== | ====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. | 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. |
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 |
---|