WebPagePanel
From Xojo Documentation
New in 2020r1
Used to organize controls on hidden panels. Only the controls on the current panel are visible to the user. This control does not display a user interface at run-time.
Events | ||||||||
|
Methods | ||||||||
|
Notes
The WebPagePanel control allows you to add controls to panels, just as you add controls to WebTabPanels. The difference is that the WebPagePanel control itself is not visible in your built application. Only the controls on the currently selected panel are visible. You change the displayed panel by changing the SelectedPanelIndex property. A WebPagePanel cannot be embedded inside another WebPagePanel.
You get or set the panel on which a control is located via the PanelIndex property of the WebUIControl class. The first panel is numbered zero.
In the IDE, you can add, insert, delete, reorder and navigate from panel to panel, just like a WebTabPanel. When building an interface using the WebPagePanel, you can take advantage of the Control Hierarchy, discussed in the section on the RectControl object.
Embedding a WebPagePanel into another WebPagePanel or into a WebTabPanel is not supported. |
Sample Code
The following line of code moves a WebListBox from its current panel to the second panel of a WebPagePanel.
See Also
WebTabPanel control