Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stopping a toolbar from Undocking
Message
From
06/06/2001 05:16:20
 
 
To
06/06/2001 05:02:01
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00515603
Message ID:
00515610
Views:
20
>>Can anyone suggest a way of stopping a toolbar from undocking?
>>
>>TIA
>
>on the undock event of the toolbar put this.Dock()

That gives an Error...
"Too few arguments"

So it wants at least 1 parameter to say where to dock it.

I've already tried a few things..
This.Dock(0)
This.Dock(0,100,0)

Nodefault from Undock, BeforeDock, Afterdock
Return .f. from Undock, BeforeDock, Afterdock

None of them work

The really annoying thing is that I have got this to work in the past and can't remember what I did :(
Will Jones
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform