Set TAdvSmoothDock order programatically

Hello,



I would like to save and restore the order of the TAdvSmoothDockItems programmatically if a user changes them by dragging and dropping. I'm looking for something under AdvSmoothDock1->Items->Items[0], but I don't see where you can change the displayed index. Do you have a sample or tutorial I can look at?



Thanks,

Mitch McInelly

Hi, 


You should simply set the Index property:
AdvSmoothDock1->Items>Items[0]->Index =