Propriedade ListBox.BorderStyle (Script do Outlook Forms)

Returns or sets an Integer that specifies the type of border of the control. Leitura/gravação.

Sintaxe

expressão. Borderstyle

expressão Uma variável que representa um objeto ListBox.

Comentários

The possible values of BorderStyle are 0 and 1. 0 represents no visible border line, 1 represents a single-line border (default).

The default value for a ListBox is 0 (None).

Use BorderStyle ou SpecialEffect para especificar a borda de um controle, mas não ambos. If you specify a nonzero value for one of these properties, the system sets the value of the other property to zero. For example, if you set BorderStyle to 1, the system sets SpecialEffect to zero (Flat). If you specify a nonzero value for SpecialEffect, the system sets BorderStyle to zero.

BorderStyle uses BorderColor to define the colors of its borders. To use the BorderColor property, the BorderStyle property must be set to a value other than 0.

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.