SelectNamesDialog.ToLabel Property (Outlook)

Returns or sets a String for the text that appears on the To command button on the Select Names dialog box. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .ToLabel

expression A variable that represents a SelectNamesDialog object.

Remarks

To provide an accelerator key for the recipient edit boxes, include an ampersand (&) character in the label argument string, immediately before the character that serves as the access key. For example, if ToLabel is the string "Local &Attendees", users can press ALT+A to move the focus to the first recipient edit box.

If ToLabel is not set, the default value will be the localized string for "To". If the ToLabel is set to an empty string, then the To command button shows ->. If the ToLabel property contains more than 32 characters (including the ampersand (&) access key), only the first 32 characters will be displayed in the command button.

See Also

Concepts

SelectNamesDialog Object Members

SelectNamesDialog Object