Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent docking of toolbar
Message
De
28/02/2005 07:08:38
 
 
À
28/02/2005 04:39:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00991109
Message ID:
00991129
Vues:
15
>I have a custom toolbar in a main VFP screen based on VFP toolbar class.
>
>How to prevent its docking to top and bottom of the main VFP screen or to prevent docking at all?
>
>I tried this by adding the code
>
>
IF INLIST( nLocation,0,3)
>  NODEFAULT
>  RETURN .F.
>  ENDIF
>
>to toolbar beforedock method but this does'nt prevent toolbar from docking.

Hi Andrus,

this is a bad VFP design.
It is not possible with direct coding of VFP.

On VFP9 it can be tried with BINDEVENT(toolbar.hwnd.....)
but task is difficult to make it without to generate C0005 errors.

Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform