Checkbox
Checkbox is a form object that allows the user to make a binary choice – select or deselect the listed options.
Source
Source tab defines data sources, data types, values, and prompting rules.
Connected data source is the dynamic data source that is connected with the object.
-
Variables: variables which stores the selected checkbox value.
-
Databases: database which stores the selected checkbox value.
Tip
This is a read-and-write form object. This means that the object is used for displaying the connected dynamic content, and for entering or editing the connected data sources.
Settings
Settings tab defines specifics for object content editing and displaying of values.
checkbox text is a field for entering the checkbox text.
-
Checked: default checkbox state (selected/cleared) when the form is run.
-
Word wrap: text is divided into multiple lines to make sure it does exceed the checkbox width.
State values is the state which is stored in the connected variable's value.
-
Checked value: by default set to "True". Checked option confirms the assigned action.
-
Unchecked value by default set to "False". Checked option rejects the assigned action.
Tip
Checked and Unchecked values are customizable. These values can be defined manually or dynamically using a Data source.
Style
Style tab defines visual appearance of an object.
Background color defines the object background color.
-
Transparent: transparent object background.
Font color defines the font and underline colors.
Font selects the typeface.
The font may appear Bold, Italic, Underlined or as a Strikethrough text.
Position
Position tab defines object positioning and its position-related behavior.
Position group defines the object position.
-
X and Y: anchoring point coordinates.
-
Width and Height: horizontal and vertical object dimension.
-
Keep aspect ratio: simultaneous changing of object dimensions while scaling.
-
Lock: prevents the object from being moved during the design process.
Size group sets how object's dimensions change when the form is running:
-
Resize anchor point: defines the fixed distance of an object from the form borders.
Tip
Choose the most appropriate anchor point to ensure the object's visibility regardless of the current window size.
-
Horizontally resize with form and Vertically resize with form: object size automatically adapts to the changing size of the form.
-
Horizontally resize with form: object width adapts to the resized form.
-
Vertically resize with form: object height adapts to the resized form.
Note
If both options are enabled, object width and height adapt to the resized form simultaneously.
-
Rotation angle group sets the object angle according to the design surface.
Events
Events tab defines the actions that are run by various object-related events.
Tip
See section Actions Editor to read more about this powerful Desktop Designer tool.
Available events are:
-
On Focus: action is run when focus is set on the object.
-
On Exit: action is run when focus moves to another object.
-
On Click: action is run on mouse click.
General
General tab identifies the object and defines object settings for form startup.
Name sets a unique object ID. It is used for object referencing when defining functions, variables, scripts, etc.
Description allows adding notes and annotations for an object.
Hint helps the form users by briefly explaining why or how to use the selected object.
Initial state on form setup group defines the object behavior while editing and printing a form:
-
Enabled: defines if the object is going to be active (editable) at form startup or not.
-
Condition: an object is enabled if the result of the given condition is "True".
-
-
Visible: defines if the selected object is going to appear on the form or not.
-
Condition: an object is visible if the result of the given condition is "True".
-
Content after a print action group defines how the object content is handled after each printout.
-
Reset content after print: object content reset after printing.
-
Clear content: object emptied after printing.
-
Reset to initial content: content reset after printing to the initially defined object content.
-