BalloonLabel Object
Description
Represents a label in the Office Assistant balloon. The BalloonLabel object is a member of the BalloonLabels collection.
Using the BalloonLabel Object
Use Labels(index), where index is a number from 1 through 5, to return a BalloonLabel object. There can be up to five labels on one balloon; each label appears when a value is assigned to its Text property.
The following example creates a balloon that asks the user to click the label corresponding to his or her age.
With Assistant.NewBalloon
.Heading = "Check Your Age Group."
.Labels(1).Text = "Under 30."
.Labels(2).Text = "Over 30."
.Labels(3).Text = "None of your business."
.Text = "Which of the following " _
& .Labels.Count & " choices apply to you?"
.Show
End With
Remarks
Balloon check boxes display the user's choices until he or she dismisses the balloon. Balloon labels record the user's choice as soon as he or she clicks the button beside the label.
Properties
Application property, Creator property, Item property (Assistant, BalloonLabel, and BalloonCheckbox objects), Name property, Parent property, Text property.
Example (Microsoft Access)
See the Assistant object example (Microsoft Access).