Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move a toolbar by dragging on child control vs. border/t
Message
From
30/05/2005 20:37:51
 
 
To
30/05/2005 16:14:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018452
Message ID:
01018610
Views:
9
>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
Map
View

Click here to load this message in the networking platform