Propriedade Frame. Caption (script de formulários do Outlook)Frame.Caption Property (Outlook Forms Script)

Returns or sets a String that appears on an object to identify or describe it.Returns or sets a String that appears on an object to identify or describe it. Leitura/gravação.Read/write.

SintaxeSyntax

expressão. Legendaexpression.Caption

expressão Uma variável que representa um objeto frame .expression A variable that represents a Frame object.

ComentáriosRemarks

The default caption for a control is a unique name based on the type of control.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.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 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.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.The ForeColor property of the control determines the color of the text in the caption.

Suporte e comentáriosSupport and feedback

Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação?Have questions or feedback about Office VBA or this documentation? Confira Suporte e comentários sobre o VBA para Office a fim de obter orientação sobre as maneiras pelas quais você pode receber suporte e fornecer comentários.Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.