Frame 属性(Outlook 窗体脚本)Frame.Caption Property (Outlook Forms Script)

返回或设置一个 String 类型的值,该值显示在某个对象上,用于识别或说明该对象。Returns or sets a String that appears on an object to identify or describe it. 读/写。Read/write.



_表达式_一个代表Frame对象的变量。expression A variable that represents a Frame object.


控件的默认标题是基于控件类型的唯一名称。The default caption for a control is a unique name based on the type of control. 例如,"CommandButton1"是窗体中第一个命令按钮的默认标题。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.

控件的 ForeColor 属性决定标题中文本的颜色。The ForeColor property of the control determines the color of the text in the caption.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.