Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,253 of 10,840    |
|    Martin to All    |
|    Re: Repeat Question    |
|    05 Mar 05 11:54:25    |
      From: cadoss@btconnect.com              I tried out the advice given and came up with this as an example:-              Add a timer to your form (say Timer1) add a command button to the form (say       Button1) - Set its Enabled Property to False - Set its Interval Property to       100.              Then:-              Private Sub command1_MouseDown(button As Integer, shift As Integer, x As       Single, y As Single)        timer1_timer        Timer1.Enabled = True       End Sub              Sub timer1_timer()        Print "In"       End Sub              Private Sub command1_Mouseup(button As Integer, shift As Integer, x As       Single, y As Single)        Timer1.Enabled = False        Print "Out"       End Sub              Thanks Group              Martin              "Stephen Saunders" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca