Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Favorite Enhancement
Message
De
06/06/2004 15:21:26
Emmanuel Huybrechts
Technimeca International Corp.
Montréal, Québec, Canada
 
 
À
06/06/2004 14:53:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00910115
Message ID:
00910574
Vues:
33
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform