Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbars undocking?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00150181
Message ID:
00150681
Views:
30
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform