Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing Toolbar Docking
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00230860
Message ID:
00230898
Views:
26
This is definitly a better suggestion than mine. By reading the warning in the Hacker's Guide that it's not possible to bail out of docking in the BeforeDock() event, I got the impression that it was not possible in the AfterDock() event too. But I now stand corrected :)

>In the Toobar's AfterDock event, place the following:
>IF INLIST(This.DockPosition, 1, 2)
>  This.Dock(0)
>ENDIF
>This cause the toolbar to undock immediately when the user tries to dock it on the left or right of the screen.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform