General information
Category:
Forms & Form designer
>Alan,
>
>> But that's where I'm having a problem. Running Christian's example, I can simply grap the title bar and dock the toolbar. As far as I can tell, there is nothing there that prevents docking unless the user simply refuses, for whatever reason, to use the title bar. But I see nothing here that disallows that.
>
>Now I understand ... Christian's example was proof of concept to demonstrate the following possiblities - not a complete example with a toolbar stripped of its "chrome":
>
>1. Ability to move toolbars using a child control vs. toolbar titlebar or margin, i.e. in otherwords, if we hid the toolbar's titlebar, border, and margin, could we still come up with a way for a user to move a toolbar? Christian's example proves we can.
>
>2. Ability to prevent a toolbar from being docked by managing the toolbar's position via code vs. allowing a user to move a toolbar via the titlebar. Christian's example proves this is possible to.
>
>Does that clear things up for you? Sorry about the confusion.
Perfectly. It kind of came to me after you mentioned Craig's post, but being Monday, it just came a little too slowly, and I ended up posting that last message.
Although, I have to play a bit with Craig's solution. It looks very weird on my system. No bottom border, and if I dock it, undocking it becomes a real issue, and once it does get undocked, I only get the bottom half of the toolbar at all. I'll play with it for a while though, because it surely shows some promise.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only