ObjectOptions
Summary
Methods
GetProperty
Returns the current value of a property.
| void GetProperty(Name) |
|---|
| Parameters |
|---|
| Name | The name of the property to retrieve. |
| Return Value |
|---|
| Variant. Current value of the named property. Empty if no value has been set. |
SetProperty
Sets the value of a property.
| void SetProperty(Name, Value) |
|---|
| Parameters |
|---|
| Name | The name of the property to set. |
| Value | Value to assign to property. |
| Return Value |
|---|
| Boolean. True if the property exists and value is valid. |
Properties
Values of any type may be assigned to any named property, however, only certain properties are recognized for each object type. Recognized properties are expected to have values of a particular type (or of a type that can be converted to the expected type).
| Property | Expected Type | Description |
|---|
| Align | Integer | A combination of values from the ButtonOptions enumeration specifying the alignment of text within the button rectangle. |
| Greyed | Boolean | True to create a disabled button (displayed greyed out). |
| Height | Integer | Height to make button in pixels. |
| Invert | Boolean | True to display the button inverted (white text in a black rectangle). |
| Width | Integer | Width to make button in pixels. |
| Property | Expected Type | Description |
|---|
| CharSet | String | Single-character string specifying character to use for echoing input, e.g. '*' if input is for a password or PIN. |
| Spacing | Integer | One of the spacing values from the InputEchoOptions enumeration. |
| Underline | Boolean | False to turn off display of underlines to indicate input echo character positions. |
| Property | Expected Type | Description |
|---|
| Group | String | Name of group to which a radio button belongs. Required. |
| Checked | Boolean | True if the radio button is initially selected.
If multiple radio buttons in a group are created with Checked=true, the last one added will be the one selected. |