What's New - Hyperlink, Slider & Option Button Form
Controls
DriveWorks 8 introduces some new form controls that will greatly
enhance the user experience. These are:
- Hyperlink
- Slider
- Option Button
Hyperlink
The Hyperlink control allows hypertext to be displayed on the
user form that links to a URL of a document or web page.
The hyperlink control will
always open a new tab or browser session when clicked.
The hyperlink and text can be dynamically driven by rules.
Appearance Properties
Name | Description | Dynamic? |
---|
Font | Controls the font of the text used on the control. (The picture
property must be set to Text or TextAndPicture) | Yes |
Hover Color | Controls the color of the text when the mouse pointer moves
over the control. (The picture property must be set to Text
or TextAndPicture) | Yes |
Hover Underline | Controls if the text is to be underlined when the mouse pointer
moves over the control. (The picture property must be set to Text
or TextAndPicture) | Yes |
Picture | Controls the picture to display on the control. (The picture
property must be set to TextAndPicture or Picture) | Yes |
Picture (Hover) | Controls the picture to display on the control when the mouse
pointer moves over the control. (The picture property must be set
to TextAndPicture or Picture) | Yes |
Picture Size Mode | Controls the size of the picture to be displayed on the control
(Normal, StretchImage, Centre, Zoom). (The picture property must be
set to TextAndPicture or Picture) | No |
Picture Style | Controls the Style of the control (Text, TextAndPicture,
Picture) | No |
Text Color | Controls the color of the text displayed on the control. (The
picture property must be set to Text or TextAndPicture) | Yes |
Text Underline | Controls if the text is to be underlined. (The picture property
must be set to Text or TextAndPicture) | Yes |
Behavior Properties
Name | Description | Dynamic? |
---|
Enabled | Controls whether the control is enabled (if the result is TRUE)
or disabled (if the result is anything other than TRUE, e.g.
FALSE). | Yes |
Error Result | Determines whether the value of the control is in error, the
result of this rule should be one of the message codes from the
known Form Messages, if the result is zero then DriveWorks treats
the control as being fine. | Yes |
Hyperlink | Controls the link to a website or document which is to be
launched from the control. The URL must be encased in quotes eg:
"www.driveworkspro.com" | Yes |
Tab Index | Configures the position of the control in the form tab
order. | No |
Text | Controls the text to display on the control. | Yes |
Visible | Determines whether the control is visible (TRUE) or hidden
(FALSE). | Yes |
General Properties
Name | Description | Dynamic? |
---|
Name | The name of the control. | No |
Layout Properties
Name | Description | Dynamic? |
---|
Height | Controls the height of the control | Yes |
Left | Controls the left position of the control | Yes |
Top | Controls the top position of the control | Yes |
Width | Controls the width of the control | Yes |
Slider
The slider control provides a horizontal (default) or vertical
slide control for use on the user form.
The range and the increment of the slider is set in the behavior
properties, and the position the slide indicator rests in is past
into the Value property as a number.
The slider control supports the use of the left, right, up and
down arrow keyboard keys once the control has focus.
Appearance Properties
Name | Description | Dynamic? |
---|
Font | Controls the font of the text used on the control. (The picture
property must be set to Text or TextAndPicture) | Yes |
Orientation | Sets the orientation of the control (Horizontal or
Vertical) | No |
Show Limits | Sets if the Minimum and Maximum property values are to be
displayed on the control | No |
Text | Controls the text to display on the control. | Yes |
Text Color | Controls the color of the text displayed on the control. (The
picture property must be set to Text or TextAndPicture) | Yes |
Behavior Properties
Name | Description | Dynamic? |
---|
Enabled | Controls whether the control is enabled (if the result is TRUE)
or disabled (if the result is anything other than TRUE, e.g.
FALSE). | Yes |
Error Result | Determines whether the value of the control is in error, the
result of this rule should be one of the message codes from the
known Form Messages, if the result is zero then DriveWorks treats
the control as being fine. | Yes |
Increment | Controls the increments the slider is to increase or decrease
in. | Yes |
Maximun | Limits the maximum value of the control. | Yes |
Minimum | Limits the minimum value of the control. | Yes |
Tab Index | Configures the position of the control in the form tab
order. | No |
Value | Is the numeric value of the control | No |
Value (Override Rule) | Overrides the Value property of the control if set. | Yes |
Visible | Determines whether the control is visible (TRUE) or hidden
(FALSE). | Yes |
General Properties
Name | Description | Dynamic? |
---|
Name | The name of the control. | No |
Layout Properties
Name | Description | Dynamic? |
---|
Height | Controls the height of the control | Yes |
Left | Controls the left position of the control | Yes |
Top | Controls the top position of the control | Yes |
Width | Controls the width of the control | Yes |
Option Button
The option button is a single selectable item that can be
grouped with other option buttons. Option buttons in a group can
exist anywhere on a user form or on different user forms. Only
one option button in a group can be selected.
Option Buttons are aware of what has been selected within the
group they belong. So the return value of any option button in a
group is the name of the selected button.
When an Option Button is added the group name to which it
belongs is the DefaultGroup. This can be changed by entering the
new in group in the Group Name property for the control.
Appearance Properties
Name | Description | Dynamic? |
---|
Caption | Controls the caption used on the control. (The picture property
must be set to Text or TextAndPicture) | Yes |
Caption Color | Controls the color of the caption. | Yes |
Caption Font | Controls the font of the caption used on the control. | Yes |
Option Alignment | Controls the side to display the caption. (The picture property
must be set to Text or TextAndPicture) | No |
Picture | Controls the picture to display on the control. (The picture
property must be set to TextAndPicture or Picture) | Yes |
Picture (Selected) | Controls the picture to display on the control when the option
is selected. (The picture property must be set to
TextAndPicture/Picture) | Yes |
Picture Size Mode | Controls the size of the picture to be displayed on the control
(Normal, StretchImage, Centre, Zoom). (The picture property must be
set to TextAndPicture/Picture) | No |
Picture Style | Controls the Style of the control (Text,
TextAndPicture, Picture) | No |
Show Option | Controls the display of the radio button. (True or False) | Yes |
Behavior Properties
Name | Description | Dynamic? |
---|
Clear Selection Allowed | Control if the option can be de-selected by a right click on
the control and selecting clear selection. | No |
Enabled | Controls whether the control is enabled (if the result is TRUE)
or disabled (if the result is anything other than TRUE, e.g.
FALSE). | Yes |
Error Result | Determines whether the value of the control is in error, the
result of this rule should be one of the message codes from the
known Form Messages, if the result is zero then DriveWorks treats
the control as being fine. | Yes |
Group Name | Controls the group the option button belongs to and will work
in conjunction with. DefaultGroup is the default when an option
button is added. | No |
Selected Option | Is the name of the currently selected option button in the
group. | No |
Selected Option (Override Rule) | Overrides the Selected Option value. | Yes |
Tab Index | Configures the position of the control in the form tab
order. | No |
Visible | Determines whether the control is visible (TRUE) or hidden
(FALSE). | Yes |
General Properties
Name | Description | Dynamic? |
---|
Name | The name of the control. | No |
Layout Properties
Name | Description | Dynamic? |
---|
Height | Controls the height of the control | Yes |
Left | Controls the left position of the control | Yes |
Top | Controls the top position of the control | Yes |
Width | Controls the width of the control | Yes |