* cmd.MouseDown()dowhilemdown()
* do repetitive thing for examplethisform.text1.Value = thisform.text1.Value + 1thisform.text1.Refresh()
enddo
>How can I detect that user keep mouse button down on a commandbutton ? > >For exemple, I'd like to make repetitive task, instead of clicking 1000x on a button, it'll be better than user keep mouse's button down on de commandbutton (the same way the user keep button down on a scrollbar in a grid)