Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.54 KB

curx-property.md

File metadata and controls

43 lines (29 loc) · 1.54 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
CurX property
fm20.chm2001040
fm20.chm2001040
Office.CurX
cbb6c8e9-13f2-61e7-9577-ceeef71ca2be
11/15/2018
medium

CurX property

Specifies the current horizontal position of the insertion point in a multiline TextBox or ComboBox.

Syntax

object.CurX [= Long ]

The CurX property syntax has these parts:

Part Description
object Required. A valid object.
Long Optional. Indicates the current position, measured in himetrics. A himetric is 0.0001 meter.

Remarks

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

Use CurTargetX and CurX to position the insertion point as the user scrolls through the contents of a multiline TextBox or ComboBox. 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.

See also

[!includeSupport and feedback]