Propriedade OptionButton.TripleState (Script do Outlook Forms)

Returns or sets a Boolean that determines whether the OptionButton supports the Null state. Leitura/gravação.

Sintaxe

expressão. TripleState

Expressão Uma variável que representa um objeto OptionButton .

Comentários

True if the control clicks through three states, False if the control only supports two states, True and False (default).

Although the TripleState property exists on the OptionButton, the property does not affect the action of the control. Regardless of the value of TripleState, you cannot set the control to Null through the user interface.

Regardless of the property setting, the Null value can always be assigned programmatically to an OptionButton, causing that control to appear shaded.

When the TripleState property is True, a user can choose from the values of Null, True, and False. The null value is displayed as a shaded button.

When TripleState is False, the user can choose either True or False.

A control set to Null does not initiate the Click event.

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.