Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Favorite Enhancement
Message
From
06/06/2004 15:21:26
Emmanuel Huybrechts
Technimeca International Corp.
Montréal, Quebec, Canada
 
 
To
06/06/2004 14:53:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00910115
Message ID:
00910574
Views:
35
>>>Hi David,
>>>
>>>>
>>>>Of course, you would then have to deal with users who drag the docked window out of its position and then have no idea what "went wrong." Maybe some smart person will figure out a way to disallow or override that once you have them docked the way you specify programmatically.
>>>>
>>>
>>>For Toolbars, I would set Movable = .F., but that doesn't seem to work with dockable forms.
>>
>>I think we could use the beforedock event in VFP9 to prevent undocking.
>
>No, we can't. Here's what help says about this (under BeforeDock method):
>
>"Returning .F. (False) from code in the event or adding the NODEFAULT command does not prevent docking."

Yes I saw that, but I suppose (not tried) that with could use a combination of GetDockState and Dock Method to redock the window in its initial position ? I hope that the final version of VFP9 will permit a NODEFAULT.
Previous
Reply
Map
View

Click here to load this message in the networking platform