Consultor Eletrônico



Kbase 15366: How To Get PSTIMER VBX To Work
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How To Get PSTIMER VBX To Work

In Progress Version 8.0A, setting the "Interval" property for the
PSTimer VBX via the "VBX Properties" window will not cause the timer
event to happen at runtime.

You need to insert code similar to the following after the
"RUN enable_UI" statement in the "Main Block" section:

<SomeLogicalVariable> = hc_PSTimer:SET-PROPERTY("Interval",<value>).

where <SomeLogicalVariable> = Any variable defined as a logical
<value> = Any timeout value (i.e. 1000 = 1 second)

For a SmartObject, you need to insert the above code in the method
named "local-initialize" and have it run after the standard behavior.

Progress Software Technical Support Note # 15366