Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.09 KB

Outlook.optionbutton.caption.md

File metadata and controls

31 lines (17 loc) · 1.09 KB
title ms.assetid ms.date ms.localizationpriority
OptionButton.Caption Property (Outlook Forms Script)
8e6a50b2-fe72-099a-cf2c-3e415d1a9059
06/08/2017
medium

OptionButton.Caption Property (Outlook Forms Script)

Returns or sets a String that appears on an object to identify or describe it. Read/write.

Syntax

expression.Caption

expression A variable that represents an OptionButton object.

Remarks

The default caption for a control is a unique name based on the type of control. For example, CommandButton1 is the default caption for the first command button in a form.

If a control's caption is too long, the caption is truncated. If a form's caption is too long for the title bar, the title is displayed with an ellipsis.

The ForeColor property of the control determines the color of the text in the caption.

Setting AutoSize to True automatically adjusts the size of the control to frame the entire caption.

[!includeSupport and feedback]