Anybody know sample on using WebPagePanel?
it’s really like panepanel in desktop !
I never tried desktop yet.
Is there a desktop sample on how to use panel?
Page panels are for putting multiple switchable sets of controls in the same place.
To see this in action:
-
Add a page panel to the layout
-
Add a label and drop it on the top left corner of the page panel.
-
At the bottom center of the page panel, switch to the second page (index 1)
-
Add another label and drop it on the now blank pagepanel in the bottom right corner.
-
Add a button outside of the pagepanel, add it’s pressed event and set the code to:
Pagepanel1.selectedPanelIndex = 1 - PagePanel1.SelectedPanelIndex
-
Run
When you click on the button at runtime, the area where the page panel is will switch between the two labels being shown.
Thank you!