Set TAdvSmoothDock order programatically


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?


Mitch McInelly


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