Here are the object's settings as they appear on the "double-click" Properties dialog.
There are four tabs on the Properties dialog:
The text that you want to display on the xButton object. If Enable markup is checked, you can specify the desired text and formatting using supported Extensible Application Markup Language (XAML) syntax.
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.
The color to use for the text.
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.
Enable the use of markup text using supported Extensible Application Markup Language (XAML) syntax. If checked, you can specify the formatted markup text to add features such as highlighting, hyperlinks and more. If unchecked, standard text will be used given the Text and Font settings.
Check the spelling of the text.
The image that you want to display on the xButton object. Click the browse button to select a file. The xButton supports the following image formats: .bmp, .jpg, .png, .wmf, .gif and .ico (icon).
The alignment to use for the image. Choose from:
Align the image to the middle left.
Align the image to the middle right.
Align the image to the middle center.
Align the image to the top left.
Align the image to the top right.
Align the image to the top center.
Align the image to the bottom left.
Align the image to the bottom right.
Align the image to the bottom center.
The alignment to use for the text. Choose from:
Align the text to the middle left.
Align the text to the middle right.
Align the text to the middle center.
Align the text to the top left.
Align the text to the top right.
Align the text to the top center.
Align the text to the bottom left.
Align the text to the bottom right.
Align the text to the bottom center.
The relationship to use between the text and image:
Display the image over top of the text.
Display the image above the text.
Display the text above the image.
Display the image before (to the left) of the text.
Display the text before (to the left) of the image.
The visual theme to use for the xButton. Click the select button to choose from a variety of themes. Any button with Office 2007 selected as it's theme will use the Office 20007 sub-theme that can be changed on the Appearance tab of the Project Settings dialog.
A standard button. Click to enter the down state; release the mouse button to return to the up state automatically.
A toggle button. Click once to enter the down state; click again to return to the up state.
Begin in the up state.
Begin in the down (pressed) state.
The name that is used to identify this object.
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 xButton.SetEnabled action to enable this object.
Set the object's initial visibility (whether it's visible when the page or dialog is displayed).
Note: You can use the xButton.SetVisible action to make the object visible or invisible at run time.
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.
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.
If checked, the top of the object will move when the application is resized. If unchecked, the top of the object will not move.
If checked, the bottom of the object will move when the application is resized. If unchecked, the bottom of the object will not move.
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.
The distance in pixels from the top edge of the object to the top edge of the page or dialog.
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.
The height of the object in pixels.
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 "&&&".
Check the spelling of the tooltip text.
The mouse pointer that will be used while the mouse is over this object.
The sound that will be played when the mouse moves over this object. Choose from:
Don't play any sound.
Play the default mouse over sound, as configured on the Sound Effects tab of the Audio Settings dialog.
Play a custom mouse over sound.
The custom audio file to play. Click the browse button to select an appropriate sound file.
The sound that will be played when the user clicks on this object. Choose from:
Don't play any sound.
Play the default mouse click sound, as configured on the Sound Effects tab of the Audio Settings dialog.
Play a custom mouse click sound.
The custom audio file to play. Click the browse button to select an appropriate sound file.
You can use this tab to perform a simple action when the object is clicked.
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. |
Any additional settings corresponding to the selected quick action.
You can use the script 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:
The actions that will be performed when the user clicks on this object.
The actions that will be performed when the user right-clicks this object.
The actions that will be performed when the mouse moves onto this object ("enters" the object's territory).
The actions that will be performed when the mouse moves off of this object ("leaves" the object's territory).
The actions that will be performed when the user clicks on a hyperlink in a markup enabled xButton object.
The following event variable is automatically set whenever this event is triggered:
(string) A string containing the hyperlink text that the user clicked on an xButton object. This is the text surrounded by Hyperlink tags in the markup text. For example, "Link Text" would be returned if the markup text contained <Hyperlink>Link Text</Hyperlink>.