Objeto Label (Script do Outlook Forms)

Exibe um texto descritivo.

Comentários

Um controle Label em um formulário exibe um texto descritivo, como títulos, legendas, imagens ou instruções abreviadas. Por exemplo, os títulos de um catálogo de endereços poderiam incluir um controle Label para um nome, uma rua ou uma cidade.

A propriedade padrão de um controle Label é a propriedade Caption.

You can also display a picture on a Label. However, a Label does not let you crop, size, or zoom the picture.

Eventos

Nome Descrição
Click Occurs when the user clicks inside the control.

Propriedades

Nome Descrição
Accelerator Returns or sets the accelerator key for a control. Leitura/gravação.
AutoSize Returns or sets a Boolean that specifies whether an object automatically resizes to display its entire contents. Leitura/gravação.
BackColor Returns or sets a Long that specifies the background color of the object. Leitura/gravação.
BackStyle Returns or sets an Integer that specifies the background style for an object. Leitura/gravação.
BorderColor Returns or sets a Long that specifies the border color of an object. Leitura/gravação.
BorderStyle Returns or sets an Integer that specifies the type of border of the control. Leitura/gravação.
Caption Returns or sets a String that appears on an object to identify or describe it. Leitura/gravação.
Enabled Returns or sets a Boolean that specifies whether a control can receive the focus and respond to user-generated events. Leitura/gravação.
ForeColor Returns or sets a Long that specifies the foreground color of an object. Leitura/gravação.
MouseIcon Returns a String that represents the full path name of a custom icon that is to be assigned to the control. Somente leitura.
MousePointer Returns or sets an Integer that specifies the type of pointer displayed when the user positions the mouse over a particular object. Leitura/gravação.
Picture Returns a String that specifies the full path name of a bitmap to display on a control. Somente leitura.
PicturePosition Retorna ou define um Inteiro que especifica o local da imagem em relação à sua legenda. Leitura/gravação.
SpecialEffect Returns or sets an Integer that specifies the visual appearance of an object. Leitura/gravação.
TextAlign Returns or sets an Integer that specifies how text is aligned in a control. Leitura/gravação.
WordWrap Returns or sets a Boolean that specifies whether the contents of a control automatically wrap at the end of a line and the control expands to fit the text. Leitura/gravação.

Suporte e comentários

Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação? 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.