WebPage.Title

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As String )
aWebPage.Title = newStringValue
or
StringValue = aWebPage.Title

New in 2010r4

Supported for all project types and targets.

The title of the window. By default the title that appears in the browser is the title fo the currently displayed page. As pages are shown, the title updates accordingly. You can override the web page title on a session level by change the WebSession.Title property.

Example

Set the title fo the page based on the user's log in name (saved in a UserName property that was added to the Session class):

Self.Title = "Welcome, " + Session.UserName

See Also

WebSession class