Export (0) Print
Expand All
Cut
Run
Expand Minimize

Highlight Method

Visual Studio .NET 2003

Toggles highlighting of text within the Status Bar.

[Visual Basic .NET]
Public Sub Highlight( _
   ByVal Highlight As Boolean _
) 
[Visual Basic 6]
Sub Highlight( _
   ByVal Highlight As Boolean _
) 
[C++]
HRESULT __stdcall Highlight(
   VARIANT_BOOL Highlight
);
[C#]
public void Highlight(
   bool Highlight
);
[JScript .NET]
public function Highlight(
   Highlight : Boolean
)

Parameters

Highlight
Required. Indicates whether text in the Status Bar is highlighted. True means the text is highlighted.

Remarks

The Highlight setting remains in effect until the text in the Status Bar is either cleared or set.

Example

Sub HighlightExample()
   Dim SBar As StatusBar
   SBar = DTE.StatusBar
   SBar.Text = "Status Bar testing message."
   SBar.Highlight(True)
End Sub

See Also

Animate Method | Progress Method

Applies To: StatusBar Object

Show:
© 2015 Microsoft