Kevin,

Most standard objects have a Timer in-built which works down to the 1 millisec 
resolution.

These are: CheckBox, ComboBox, CommandButton, Frame, HScrollBar, Label, 
ListBox, OptionButtion, TextBox, VScrollBar.


Say you had a CommandButton object, you can set the Timer, for 10Sec, like:

TestBut.Timer = 10000

Then have a Event waiting for the timer to fire like:

Sub TestBut_Timer()

    MsgBox "Timer Fired"

End Sub


You Disable the Timer by setting the value to zero, like:

TestBut.Timer = 0


Cheers
Joe


--- In [email protected], "Kevin" <kevinbennett...@...> wrote:
>
> Hi,
> in good old VB3 (and others) there is a 'Timer' - can't find one in the 
> ToolBox on NSBasic, although its mentioned in the Handbook.
> How do we add a timer to a form please?
> 
> Kevin
>


-- 
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en.

Reply via email to