|
|
Total Access Components Tour: Marquee
The Marquee control is a databound control that displays scrolling text
within the control. The text can be set for different three-D styles, and
the direction of the scrolling can be set for left, up, right, or down.

Using the Marquee Control
To use this control, simply place it on the form and set its Value
property. In addition, you can set Direction, Interval, and Stepping
properties. You can set these properties using the Access property window,
the Property Sheet, or through VBA code. The Direction property determines
the direction of the scrolling text. The Interval property determines how
quickly the text scrolls, and the Stepping property determines how many
pixels the text moves each time it is updated.
Marquee Properties
|
Name |
Description |
|
BackColor |
The background color of the Marquee. |
|
Direction |
The direction the text scrolls. |
|
EffectOffset |
The number of Pixels to offset copies of text for the shadowed
and embossed effects. |
|
Font |
The font for the text. |
|
ForeColor |
The color of the text. |
|
HighlightColor |
The color to use for highlighted text. This is only applicable
if the TextStyle property is set to Three-D. |
|
Interval |
The delay between steps. |
|
ShadowColor |
The color to use for shadowed text. |
|
Stepping |
The size of the steps. |
|
TextStyle |
The effect to apply to the text identified by the Value
property. |
|
Value Default Databound |
The text to display in the control. |
Marquee Events
|
Name |
Description |
|
Click |
Fires when the mouse is clicked over the control. |
|
DblClick |
Fires when the mouse is double clicked over the control. |
|
KeyDown |
Fires when a key is depressed. |
|
KeyPress |
Fires when a key is pressed. |
|
KeyUp |
Fires when a key is released. |
|
MouseDown |
Fires when a mouse button is depressed over a control. |
|
MouseMove |
Fires when the mouse moves over the control. |
|
MouseUp |
Fires when a mouse button is released over a control. |
|