Export (0) Print
Expand All
Cut
Run
Expand Minimize

SetLineColumnCharacter Method

Visual Studio .NET 2003

Sets the text column and character indicators in the Status Bar.

Line, Column, Character Indicators

[Visual Basic .NET]
Public Sub SetLineColumnCharacter( _
   ByVal Line As Integer, _
   ByVal Column As Integer, _
   ByVal Character As Integer _
) 
[Visual Basic 6]
Sub SetLineColumnCharacter( _
   ByVal Line As Long, _
   ByVal Column As Long, _
   ByVal Character As Long _
) 
[C++]
HRESULT __stdcall SetLineColumnCharacter(
   long Line,
   long Column,
   long Character
);
[C#]
public void SetLineColumnCharacter(
   int Line,
   int Column,
   int Character
);
[JScript .NET]
public function SetLineColumnCharacter(
   Line : int,
   Column : int,
   Character : int
)

Parameters

Line
Required. The line number to display in the Status Bar.
Column
Required. The column number to display in the Status Bar.
Character
Required. The character position number to display in the Status Bar.

Example

Sub SetLineColumnCharacterExample()
   Dim SBar As StatusBar
   SBar = DTE.StatusBar
   SBar.SetLineColumnCharacter(5, 6, 7)
   MsgBox("Notice the new line, column, and character values.")
End Sub

See Also

SetXYWidthHeight Method

Applies To: StatusBar Object

Show:
© 2014 Microsoft