Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move a toolbar by dragging on child control vs. border/t
Message
De
30/05/2005 15:49:52
 
 
À
30/05/2005 15:38:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018452
Message ID:
01018576
Vues:
12
>Hi Alan,
>
>>I've been following this (I think) but I'm confused.
>
>Welcome to this thread!
>
>> To dock this toolbar, all you have to do is grab the caption bar and move it to an edge.
>
>Actually, I'm trying to prevent the toolbar from docking. I'm using the toolbar as a type of modeless WAIT WINDOW to provide status info. Having a user dock this window causes havoc with my main form's display.
>
>> I don't know a way to lose the caption bar on a toolbar like you can on a form
>
>To lose the titlebar, see Craig Boyd's awesome solution:
>http://www.levelextreme.com/wconnect/wc.dll?LevelExtreme~2,15,1018217
>
>> so I'm having a bit of trouble understanding how this prevents docking.
>
>Losing the titlebar doesn't prevent docking. I have found no way to prevent the docking event from occuring other than to proactively control how the toolbar is moved so as to avoid the toolbar ever coming in contact with an edge of the _Screen or a toplevel form.
>
>Christian's excellent example uses this technique to prevent the toolbar from moving beyond the edge of its parent form.
>
>Malcolm

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform