>>Is there a way to detect a double click on a command button?
>you could fine tune this code :
>start=seconds()
>do while seconds()-start < _dblclick
> if mdown() and compobj(this,sys(1270))
> * Dblclicked
> endif
>enddo
Cetin
This works fine! The only thing left to consider is how to get rid of the extra mouseclick that gets buffered? CLEAR TYPEAHEAD doesn't seem to work for mouseclicks. Is there another way?
Vidar Johannessen