Variable properties, methods, and events
Variables have their own set of methods to manipulate their values.
When you drag a variable from the Palette to the Automation Surface, the
Select Action dialog opens. When you click the
More button, the properties, methods, and events available
for the variable display.
There is a small set of properties and events used by all variables. However, the methods differ for each variable. The following tables list the properties and events for variables. Each variable has its own table of methods, except that numeric variables (decimal, integer, and double) are grouped together.
Properties
Property | Description |
This | A reference to the current object. |
Value | The value of the variable. |
Variable type | The value type of the variable. |
Event
Event | Desctiption |
ValueChanged | Occurs whenever a variable value changes. |
- Methods for numeric variables
The numeric variables are decimal, integer, and double. The methods are identical for all three variables.
- Methods for string variables
The String variable provides a comprehensive selection of string manipulation and formatting methods.
- Methods for Boolean variables
- Methods for sensitive variables
- Methods for DateTime variables
Methods for DateTime variables enable manipulation of dates within your automations.
- Methods for character variables
Methods for character variables are for manipulating and formatting individual characters.
- Methods for color variables
Use methods for color variables to manipulate the color of text and other objects.
- Methods for font variables
Use these methods to manipulate and format fonts.
- Methods for rich-text variables
Use these methods to manipulate and format rich text.
- Methods for counter variables
Use these methods to increase or decrease the values of variables.
Previous topic String variable Next topic Methods for numeric variables