Consultor Eletrônico



Kbase P15337: How to add code for the PSTimer OCX's 'Tick' event?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/08/2007
Status: Verified

GOAL:

How to add code for the PSTimer OCX's 'Tick' event?

FACT(s) (Environment):

Progress 9.x

FACT(s) (Environment):

Windows

FIX:

The code for the PSTimer OCX's 'Tick' event should be added in the Section Editor.  Follow the steps below to add the code to the tick event:

1) Create a new window in the AppBuilder
2) Drop the PSTimer icon from the palette onto the window
3) Hit Ctrl+S to open the Section Editor
4) If needed, change the 'Section' combo-box in the editor so that it refers to 'Triggers'
5) If needed, change the 'OF' combo-box in the editor so that it refers to 'CtrlFrame PSTimer'
6) Click the button labeled 'New...'
7) Double click the entry named 'OCX.Tick' in the 'Common OCX Events' selection list
8) At this point, the editor will be open to a procedure in which you can place whatever code is desired