Change page on pagepanel


The docs state that PanelIndex must be used to get or set the current page of the tabpanel. I tried to invoke this in the change event of a lisybox.
See attachement. I expect to see some change, but nothing happens.
Where am I wrong in my toughtproces?


File here:

The PanelIndex is not the property you are looking for. It sounds like it is, but it is an attribute for objects to know which page of the PagePanel they’re supposed to be on.

You actually want to be changing PagePanel.Value

Thank you, very stupid of me!

Not stupid of you at all, this bit me last week too. IMHO the documentation is rather misleading.