This documentation is archived and is not being maintained.

ShowTextUpdates Method

Visual Studio .NET 2003

Determines whether the Status Bar shows text updates.

[Visual Basic .NET]
Public Function ShowTextUpdates( _
   ByVal TextUpdates As Boolean _
) As Boolean
[Visual Basic 6]
Function ShowTextUpdates( _
   ByVal TextUpdates As Boolean _
) As Boolean
[C++]
HRESULT __stdcall ShowTextUpdates(
   VARIANT_BOOL TextUpdates,
   /* [out, retval] */ VARIANT_BOOL* retVal
);
[C#]
public bool ShowTextUpdates(
   bool TextUpdates
);
[JScript .NET]
public function ShowTextUpdates(
   TextUpdates : Boolean
) : Boolean

Parameters

TextUpdates
Required. Indicates whether to show text updates.

Remarks

ShowTextUpdates is useful, for example, when running a Wizard where you do not want text to display from an operation such as Search and Replace.

Example

Sub ShowTextUpdatesExample()
   Dim SBar As StatusBar
   SBar = DTE.StatusBar

   SBar.Text = "Hello world."
   MsgBox("Turning off text updates...")
   SBar.ShowTextUpdates(False)
   SBar.Text = "Goodbye world."
End Sub

See Also

Highlight Method | Text Property (General Extensibility)

Applies To: StatusBar Object

Show: