Visual Basic: Windows Controls

Visual Studio 6.0

TextPosition Property

See Also    Example    Applies To

Returns or sets a value that determines the position of displayed text, in relation to the object.


object.TextPosition [= integer]

The TextPosition property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
integer A numeric expression that determines the position of ToolTipText, as shown in Settings.


The settings for integer are:

Constant Value Description
sldAboveLeft 0 Text is displayed above or to the left of the control.
sldBelowRight 1 Text is displayed below or to the right of the control.


Above and Below are used for horizontal sliders only. Left and Right are used for vertical sliders only.