ID Number: Q82003
1.00
WINDOWS
buglist1.00
Summary:
Using the Refresh, Move, and Drag methods on a timer should cause an
error, but it does not. Timers do not support these methods. The timer
control is invisible at run time, and controls timed events only. As
such, visual manipulation methods, such as Refresh and Move, should
have no meaning.
Microsoft has confirmed this to be a problem in Microsoft Visual Basic
programming system version 1.0 for Windows. We are researching this
problem and will post new information here as it becomes available.
More Information:
Steps to Reproduce Problem
--------------------------
1. Run Visual Basic, or from the File menu, choose New Project (ALT,
F, N) if Visual Basic is already running. Form1 is created by
default.
2. Place a timer control on Form1.
3. In the Form_Click event, enter the following code:
Sub Form_Click()
timer1.Refresh
timer1.Move 10
timer1.Drag
End Sub
4. Press F5 to run the application.
5 Click once on the form.
Notice a small gray square appear on the form. This is the Drag method
incorrectly working with the timer control. None of the three methods,
Refresh, Move, or Drag, gave an error message as they should when
inappropriately applied to a timer control.
Additional reference words: 1.00