Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Apr 20, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Event occurring at regular intervals in user object

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: Informix Version: PowerBuilder 5.0 platform: Win 95

It's not possible to create a timer for a non-visual object in PowerBuilder. This is a Windows -- not a PowerBuilder -- limitation.

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

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date