"ALI-R" <ali@microsoft.com> schrieb:
> How can I change the interval of timer on a form from another form
> programmatically?
You will need to pass a reference to the timer to the other form in order to
access the timer. If you are showing the 2nd form from the 1st form, you
can add a property of type 'Timer' to your 2nd form and set this property
before showing the form:
\\\
Dim f As New Form2()
f.TheTimer = Me.Timer1
f.Show()
///

Signature
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/
ALI-R - 29 Oct 2004 22:28 GMT
Let's make it clear:
I want to set the timer on the first form from the second form.
Thanks for your help.
Ali
> "ALI-R" <ali@microsoft.com> schrieb:
> > How can I change the interval of timer on a form from another form
[quoted text clipped - 10 lines]
> f.Show()
> ///