>>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