Share via


Propriedade ComboBox.CurX (Script do Outlook Forms)

Returns or sets a Long that represents the current horizontal position of the insertion point in a multiline ComboBox. Leitura/gravação.

Sintaxe

expressão. CurX

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

Comentários

The CurX property applies to a multiline ComboBox. The return value is valid when the object has the focus.

Use CurTargetX e CurX para posicionar o ponto de inserção à medida que o usuário percorre o conteúdo de um ComboBox multiline. When the user moves the insertion point to another line of text by scrolling the content of the object, CurTargetX specifies the preferred position for the insertion point. CurX is set to this value if the line of text is longer than the value of CurTargetX. Otherwise, CurX is set to the end of the line of text.

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.