RadioButton Object

Here are the object's settings as they appear on the "double-click" Properties dialog.

There are four tabs on the Properties dialog:

Settings

Attributes

Quick Action

Script

Settings Tab

Object

Group ID:

The identifier of the radiobutton group you want this object to be a part of. You can select an existing group from the dropdown. By default, all newly created radiobuttons are part of a default group (no defined group ID ie. ""). When radiobutton objects contain the same group ID, they automatically work together. So when one radiobutton is selected, all others within that group are unselected.

Value:

The associated data value you want to assign to the radiobutton. You can retrieve this value when the radiobutton is selected using the Page.GetRadioValue action, or on dialogs, DialogEx.GetRadioValue. You can also select a radio button in a group by value using the Page.SetRadioValue action, or on dialogs, DialogEx.SetRadioValue.

Checked

Show the radiobutton as selected. If unchecked, the radio button will be shown unselected.

Text:

The text that you want to display on the radiobutton object. You can retrieve this value when the radiobutton is selected using the Page.GetRadioValue action, or on dialogs, DialogEx.GetRadioValue. You can also select a radio button in a group by text using the Page.SetRadioValue action, or on dialogs, DialogEx.SetRadioValue.

Font...

The font that you want to use for the text. Click the select font button to open the Font dialog where you can edit all of the font settings.

Tip: You can set the default font for this object type by configuring its settings on the Objects tab in Edit > Preferences.

Spelling

Check the spelling of the object text.

Text Alignment

The text alignment to use. Choose from:

Left

Left-align the object text.

Center

Center the object text.

Right

Right-align the object text.

Button Alignment

The button alignment to use. Choose from:

Left

Align the button to the left of the object text.

Right

Align the button to the right of the object text.

Special

Read order:

The order the text will display when typed into the object. Choose from:

Standard

Display the text normally, from left to right.

Right to Left

If the shell language is Hebrew, Arabic, or another language that supports reading-order alignment, the text is displayed using right-to-left reading-order properties. For other languages, this style is ignored.

State Colors

Normal:

The text color used when the mouse is not over the object and the user is not clicking on it.

Tip: You can click the select button to bring up a color chooser. Clicking the "More Colors..." button on the color menu allows you to choose either a standard color/custom color, or use the eyedropper to pick a color from somewhere within the AutoPlay application window.

Disabled:

The text color for the disabled state. This color will persist until a RadioButton.SetEnabled action is called. While in the disabled state, the object will not respond to any mouse overs or clicks.

Highlight:

The text color used while the mouse is held over the object.

Click:

The text color used while the left mouse button is pressed down on the object.

Match Normal

Sets the Highlight and Click color to be the same as the Normal color.

Attributes Tab

Identification

Object name:

The name that is used to identify this object. You can retrieve this value when the radiobutton is selected using the Page.GetRadioValue action, or on dialogs, DialogEx.GetRadioValue. You can also select a radio button in a group by object name using the Page.SetRadioValue action, or on dialogs, DialogEx.SetRadioValue.

State

Enabled

Enable the object so it responds to user interaction. When an object is disabled, it will not respond to any mouse overs or clicks and will not perform any actions until it is enabled.

Note: You can use the RadioButton.SetEnabled action to enable this object.

Visible

Set the object's initial visibility (whether it's visible when the page or dialog is displayed).

Note: You can use the RadioButton.SetVisible action to make the object visible or invisible at run time.

Auto-Resize

Left

If checked, the left side of the object will move when the application is resized. If unchecked, the left side of the object will not move.

Right

If checked, the right side of the object will move when the application is resized. If unchecked, the right side of the object will not move.

Top

If checked, the top of the object will move when the application is resized. If unchecked, the top of the object will not move.

Bottom

If checked, the bottom of the object will move when the application is resized. If unchecked, the bottom of the object will not move.

Position

Left:

The distance in pixels from the left edge of the object to the left edge of the page or dialog.

Tip: You can also change the position of an object by dragging it or using the arrow keys.

Top:

The distance in pixels from the top edge of the object to the top edge of the page or dialog.

Width:

The width of the object in pixels.

Tip: You can also resize an object by dragging one of the resize handles on its bounding box.

Height:

The height of the object in pixels.

Restore Original

Set's the object's size back to the original values. (This feature is not available for the RadioButton object.)

Feedback

Tooltip:

A short string of text that will appear after the mouse hovers over this object for a moment.

Tip: You can choose from several tooltip styles for all tooltips in your project, Standard, Balloon and Extended. This setting can be found on the Appearance tab of the Project > Settings.

Tip: If you want a newline in your tooltip text, use "\r\n". For example, for an Extended tooltip, "My First Line\r\nMy Second Line|My Title". Newlines are not supported in the Title text for Balloon or Extended styles.

Tip: If you want a "&" character in the text, you must enter "&&&".

Spelling

Check the spelling of the tooltip text.

Cursor:

The mouse pointer that will be used while the mouse is over this object.

Sounds

Highlight:

The sound that will be played when the mouse moves over this object. Choose from:

None

Don't play any sound.

Standard

Play the default mouse click sound, as configured on the Sound Effects tab of the Audio Settings dialog.

Custom

Play a custom mouse over sound.

File:

The custom audio file to play. Click the browse button to select an appropriate sound file.

Click:

The sound that will be played when the user clicks on this object. Choose from:

None

Don't play any sound.

Standard

Play the default mouse click sound, as configured on the Sound Effects tab of the Audio Settings dialog.

Custom

Play a custom mouse click sound.

File:

The custom audio file to play. Click the browse button to select an appropriate sound file.

Quick Action Tab

You can use this tab to perform a simple action when the object is clicked.

When Object is Clicked

Action to run:

The action to perform when the object is clicked. Choose from:

ACTION

DESCRIPTION

None

Does nothing.

Show Page

Jumps to the specified page in your application. Click here for more information.

Show Dialog

Shows a specific dialog in your application. Click here for more information.

Close Dialog

Closes the currently displayed dialog. Click here for more information.

Run Program

Runs an application with optional command line arguments. Click here for more information.

Open Document

Opens a document in an external viewer. Click here for more information.

Print Document

Prints a document on the user's system. Click here for more information.

Send Email

Sends an email through the user's default email program. Click here for more information.

View Website

Opens a website in the user's default web browser. Click here for more information.

Explore Folder

Explores a folder on the user's system. Click here for more information.

Play Multimedia

Plays a multimedia file in the default player on the user's system. Click here for more information.

Play/Pause Background Music

Toggles the play state of the background music. Click here for more information.

Exit/Close

Exits from the AutoPlay application. Click here for more information.

Properties

Any additional settings corresponding to the selected quick action.

Script Tab

You can use the action editor on this tab to edit the script of actions that will be performed on each of this object's events.

This object supports the following events:

On Click

The actions that will be performed when the user clicks on this object. Click the edit button to open the script editor.

On Right-Click

The actions that will be performed when the user right-clicks this object.

On Enter

The actions that will be performed when the mouse moves onto this object ("enters" the object's territory). Click the edit button to open the script editor.

On Leave

The actions that will be performed when the mouse moves off of this object ("leaves" the object's territory). Click the edit button to open the script editor.