devxlogo

Event occurring at regular intervals in user object

Event occurring at regular intervals in user object

Question:
Is it possible to activate an event or function at regular time intervals in a customer user object?

I’ve tried to defined a timer event using event id pbm_timer. But the problem is I can’t use the TIMER function to activate this timer event because the TIMER function can only be used for the window.rdms: InformixVersion: PowerBuilder 5.0platform: Win 95

Answer:
It’s not possible to create a timer for a non-visual object inPowerBuilder. This is a Windows — not a PowerBuilder — limitation.

The only way to do this is to open a hidden or small window (like thetime on your MDI frame) and make it call an event in a publish/subscribetype object. Then your NVO can subscribe to the TIMER event of theobject. Your small window with the timer will publish the TIMER messageat regular intervals.

See also  What Are International Payments, And How Do They Work?
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist