Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbars undocking?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00150181
Message ID:
00150681
Vues:
28
>>I have an app with a toolbar with navigation buttons on it. When you get to last/first record the appropriate buttons are disabled. The problem is if someone double-clicks on a disabled button on the toolbar it undocks/docks which is not only non-standard but rather confusing to the user. Since a commandbutton has no DoubleClick() I can't figure out how to trap it. Any ideas?
>
>Since the button is disabled the double-click is being interpreted by the toolbar. Double-clicking a toolbar causes it to toggle between docked and undocked.


Therefore, just put NODEFAULT in the doubleclick method of your toolbar to eliminate it from docking/undocking on the doubleclick.

HTH
ellen
ellen whitney
EPS Software Corp
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform