Hello,
I want to use a database to store some key settings regarding a users toolbar. Most important is the position in the docked row, which I can see on the toolbarmodified event, under E.Toolbar.base.nonpublicmemebers.
There I see targetpositionindockedrow. How can I set this at runtime?
Thanks.
Since that property is under "nonpublicmembers", that means it's either private, protected, or internal, so you can't access it from your code. However, you can use the DockedColumn property of the Toolbar to determine where the toolbar shows in relation to the other toolbars in the row. The first toolbar would have a DockedColumn of 0, the second would be 1, etc.
Hi,
I understand that, and it is how I am storing the order in the Database. But if they position an Toolbar away from others...lets say all the way to the right where there is a big space between the leftmost toolbar and the rightmost
TOOLBAR #1 --------------EMPTY TRAY ---------------------------------- TOOLBAR #2
The only way I can load it back up the same is if I could set that nonpublic member. That or use the controls built in save settings...hmmmm
can i write the output of that to the database VS the userconfig file? That would make my life EASY>