Label Object

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

There are three tabs on the Properties dialog:

Settings

Attributes

Actions

Settings Tab

Object

Text:

The text that you want to display on the label object.

Select 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.

Check Spelling

Check the spelling of the label text.

Alignment

The alignment to use. Choose from:

Left

Left-align the text within the object's bounding box, like so:

This text is left-aligned

Center

Center the text within the object's bounding box, like so:

This text is centered

Right

Right-align the text within the object's bounding box, like so:

This text is right-aligned

Orientation

The orientation of the text (in degrees) from the horizontal axis. Choose from:

0

Normal. Display the text horizontally and right-side-up.

90

Orient the text 90 degrees counter-clockwise. The text will be drawn vertically, so you read it from the bottom up.

180

Orient the text 180 degrees counter-clockwise. The text will be drawn horizontally and upside down.

270

Orient the text 270 degrees counter-clockwise. The text will be drawn vertically, so you read it from the top down.

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.

Disabled:

The text color for the disabled state. This color will persist until a Label.SetEnabled action is called. While in the disabled state, the object will not respond to any mouse overs or clicks. (Label.SetEnabled is only available in the Professional edition.)

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 Down color to be the same as the Normal color.

Attributes Tab

Properties

Object Name:

The name that is used to identify this object.

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 Label.SetEnabled action to enable this object. (Label.SetEnabled is only available in the Professional edition.)

Visible

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

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

Position

Left:

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

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.

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.

Feedback

Tooltip:

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

Check 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 over 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.

Actions 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.

On Enter

The actions that will be performed when the mouse moves onto this object ("enters" the object's territory).

On Leave

The actions that will be performed when the mouse moves off of this object ("leaves" the object's territory).