Home Search

DriveWorks Pro 22
Option Button

Send Feedback

Option Button

The option button displays an option with a radio button adjacent to it.

Option buttons work in groups where only one of the group members can be selected.

When the form control is applied the name entered will display as the caption for the form control. This can be changed by selecting the Caption property.

When an item in the group is selected the Selected Option property reports the name of the selected option button.

Properties

Appearance

Appearance - Caption

Appearance - Picture

  • Picture

    The default picture to be shown for this control.

  • Picture (Hover)

    The picture to be shown when the control is in a hover state.

  • Picture (Selected)

    The picture to display on the option when the option is selected.

  • Picture Size Mode

    Controls how the picture will be sized to the control.

  • Picture Style

    Controls how the picture will appear on the control.

Behavior

  • Clear Selection Allowed

    If TRUE, allows the user to clear the active selection, otherwise if FALSE, an item IS always selected.

  • 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).

  • Error Result

    Determines whether the value of the control is in error. The result of this rule is a string containing the error message if the value is in error, otherwise a blank string or the number zero.

  • Group Name

    The name of the group to which the option belongs.

  • Selected Option

    The name of the selected option button control.

  • Selected Option (Override Rule)

    The name of the selected option button control.

  • Tab Index

    Configures the position of the control in the form tab order.

  • Visible

    Determines whether the control is visible (TRUE) or hidden (FALSE).

General

  • (Metadata)

    Optional text which can be used to provide information belonging to or about a control. For example, a list of CSS classes which can be parsed and applied to the control using the Integration Theme in DriveWorks Live. This doesn't affect the control's behavior.

  • (Name)

    The name of the control

  • (Tag)

    Optional text which can be used to describe the control, but which doesn't affect the control's behavior.

  • Tooltip Duration

    Controls the duration, in seconds, for which the tooltip will remain visible. Values of 0 and below indicate an infinite duration.

  • Tooltip Text

    Specifies the text to display in a tooltip when hovering over the control.

Layout

  • Height

    Controls the height of the control.

  • Left

    Controls the left position of the control.

  • Top

    Controls the top position of the control.

  • Width

    Controls the width of the control.

DriveWorks Tech Tips Portal

Shopping Basket

The project allows a customer to select from a range of products and specify a quantity. This is exported to a Simple Table and then used to create a summary from where customers can see their selections, and remove an item if desired, before checking out.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://my.driveworks.co.uk/learn/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.