Hello
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?
Thanks
File here: http://www.filedropper.com/testpanels
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.
http://documentation.xojo.com/index.php/Control.PanelIndex
You actually want to be changing PagePanel.Value
http://documentation.xojo.com/index.php/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.