Share via


Propriedade ComboBox.CurTargetX (Script do Outlook Forms)

Returns a Long that represents the preferred horizontal position of the insertion point in a multiline ComboBox. Somente leitura.

Sintaxe

expressão. CurTargetX

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

Comentários

The CurTargetX property retrieves the preferred position, measured in himetric units. A himetric is 0.0001 meter.

The target position is relative to the left edge of the control. If the length of a line is less than the value of the CurTargetX property, you can place the insertion point at the end of the line. The value of CurTargetX changes when the user sets the insertion point or when the CurX property is set. CurTargetX is read-only.

The return value is valid when the object has focus.

Use CurTargetX e CurX para mover 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.