Tabbers Index
BlitzMax Forums/MaxGUI Module/Tabbers Index
| ||
How do you change the index number for a tab? Thanks |
| ||
All tabs are stored in an array "items". All items in that array are from type TGadgetItem. When you like to change the index, you need to alter the array. To access the array: MyTabber.items[index] |
| ||
Eeeekkk... Don't do that - you'd be editing the internal data structure of the TGadget instance. In short, there isn't a quick way to do this. You should call RemoveGadgetItem() and then InsertGadgetItem(). It would be easy to code up a helper MoveGadgetItem() function that would do this. |