Tool bar buttons remain pressed
-
Hi, I have a tool bar in my app, from which the user can drag components on to the a form. This works fine except that after dragging a control from the toolbar, once the mouse leaves the tool bar area the corresponding button remains in pressed state and will not become normal until the mouse is brought back on the tool bar. I want the button to become normal as soon as the mouse is release(on the form or elsewhere!) Any ideas? Thanks
-
Hi, I have a tool bar in my app, from which the user can drag components on to the a form. This works fine except that after dragging a control from the toolbar, once the mouse leaves the tool bar area the corresponding button remains in pressed state and will not become normal until the mouse is brought back on the tool bar. I want the button to become normal as soon as the mouse is release(on the form or elsewhere!) Any ideas? Thanks
I'll ask the obvious... Check if the button type is a toggle sytle. ------------------------------- Joan MomComputerGeek.com
-
I'll ask the obvious... Check if the button type is a toggle sytle. ------------------------------- Joan MomComputerGeek.com