ComponentOne VSView 8.0
NavBarText Property

Returns or sets the text displayed on the document navigation bar.

Syntax

[form!]VSPrinter.NavBarText[ = value As String ]

Remarks

You can use the space on the right of the navigation bar buttons to display short messages to the user. A typical use for these messages would be to display messages related to the state of the control.

For example, the following code uses the NavBarText property to display its progress while generating a document:

Private Sub CreateDoc()

  vp.NavBarText = "Creating document"

  vp.StartDoc

  CreateDocBody

  vp.EndDoc

  vp.NavBarText = ""

End Sub

Private Sub vp_NewPage()

  vp.NavBarText = "Creating page " & vp.PageCount & "..."

End Sub

Note: The message is displayed using the same font used to display the current page and page count on the navigation bar. This font is fixed and cannot be changed.

Data Type

String

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback