From Xojo Documentation

Revision as of 14:31, 11 March 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from WebView)

New in 2010r4

A page of the application. This is the equivalent of a Window in a desktop application.

Closed Opening Shown
ContextualMenuSelected Overflowed
Hidden Resized
AllowTabOrderWrap fa-lock-32.png LastControlIndex Style
ContextualMenu LayoutDirection TabIndex
ControlID fa-lock-32.png LayoutType Title
Enabled Left Tooltip
Height MinimumHeight Top
Indicator MinimumWidth Visible
IsImplicitInstance fa-lock-32.png Name fa-lock-32.png Width

AddControl ExecuteJavaScript SetFocus
Close GotoURL Show
ControlAt LastControlIndex UpdateBrowser
Controls ScrollTo


One important difference, of course, is that several pages may be displayed in the same browser window (though not at the same time, of course). But in other respects, a WebPage is very much like a desktop window. In both cases, the state of controls is managed automatically. You will only lose state when you call the Close method of a page or when the application quits. Page state is managed on a per session/per page basis. See the WebSession object. That means two sessions (two users) would each have their own state per page.


Hash Tags (aka anchors or URL fragments) are used to create bookmarks to specific pages or areas of your web apps. This is an example hash tag:


The WebSession.HashTag property is used to change a hash tag and WebSession.HashTagChanged event is used to know when a hash tag has been changed.

For more information on hash tags, refer to the WebSession class.

See Also

WebSession, WebDialog, WebContainer and Window classes.