Webpage panel Index

Back and more confused. I have a web page panel and I am trying to change the page. The language reference in the program has the example code listbox1.tabindex = 1 (yes. It really says listBox in the page panel code). That seems to do nothing.

Online reference says to use pagePanel.panelIndex = 1. That gives me an error that panel index does not exist.

I found an old post in the forum that suggested to use value, but I get the same error. I finally found through trial and error that selected panel index works. Is there any reason why that would be the wrong code to use to change panels?

WebPagePanel you mean?

https://documentation.xojo.com/api/user_interface/web/webpagepanel.html#webpagepanel-selectedpanelindex

SelectedPanelIndex is for web2.0

1 Like

Thank you.