Read current count value (TimerInterval property

Read current count value (TimerInterval property

am 29.03.2008 12:04:02 von MLH

The TimerInterval property setting is a Long Integer value between 0
and whatever you set it to. The countdown starts when the form loads
and that is what I would like to read. Any way to read an open form's
current countdown value from another module?

Re: Read current count value (TimerInterval property

am 29.03.2008 12:10:02 von MLH

And please, I'm looking for a way to read the current
countdown value directly - dunno if an undocumented
method even exists. I already have work-a-rounds. One
approach is to place a hidden textbox control on form
named OpenTime and write the value of Now() to it
when the form opens. You can then use that base
value to compute the current countdown value. So
don't go there. I know that. Looking to read the value
directly from the clock itself.

Re: Read current count value (TimerInterval property

am 29.03.2008 17:35:16 von lyle

On Mar 29, 7:10=A0am, MLH wrote:
> And please, I'm looking for a way to read the current
> countdown value directly - dunno if an undocumented
> method even exists. I already have work-a-rounds. One
> approach is to place a hidden textbox control on form
> named OpenTime and write the value of Now() to it
> when the form opens. You can then use that base
> value to compute the current countdown value. So
> don't go there. I know that. Looking to read the value
> directly from the clock itself.

As a work around you could set the timer-interval to a small value
such as 10 and on each timer event increment a modularly-scoped
variable, test that variable and use its value in whatever way you
wanted. Of course, this would work best on a sub-form named Molasses
residing in a main form named January.

Re: Read current count value (TimerInterval property

am 31.03.2008 01:04:01 von MLH

Yep