Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Idle() Event Powerbuilder 10.2.0 Build 8035

654 views
Skip to first unread message

Victor H

unread,
Nov 10, 2009, 10:19:20 AM11/10/09
to
I declared an idle time of 60 seconds [idle(60)] if the application
keeps the focus, the idle event is never triggered (with no action
that resets the timer). Any idea what could be happening? The Sybase’s
help says:

Idle starts a timer after each user activity (such as a keystroke or a
mouse click), and after n seconds of inactivity it triggers an Idle
event. The Idle event script for an application typically closes some
windows, logs off the database, and exits the application or calls the
Restart function.

The timer is reset when any of the following activities occur:

• A mouse movement or mouse click in any window of the application
• Any keyboard activity when a window of the PowerBuilder application
is current
• A mouse click or any mouse movement over the icon when a
PowerBuilder application is minimized
• Any keyboard activity when the PowerBuilder application is minimized
and is current (its name is highlighted)
• Any retrieval on a visible DataWindow that causes the edit control
to be painted

Chris Pollach

unread,
Nov 10, 2009, 12:31:57 PM11/10/09
to
BTW: In 10.2.1 - build 9004, it states that CR number 394688 included -
fixes the Idle problem
HTH


"Victor H" <victorh...@gmail.com> wrote in message
news:07c55ddd-e519-497b...@a21g2000yqc.googlegroups.com...

nglk...@gmail.com

unread,
Oct 5, 2017, 12:11:01 AM10/5/17
to
Dear Mr. Chris,

I used PowerBuilder 10.5 but I cannot found Idle Event, how can I show this event ?

Thank you
Kim

noel

unread,
Oct 5, 2017, 3:37:40 AM10/5/17
to

Hi Kim,

The Idle event is in the Application object.

nglk...@gmail.com

unread,
Oct 5, 2017, 3:43:32 AM10/5/17
to
Dear Noel,

I knew, but my PB App obj having everything (open, close, timers .....) excepted Idle event. Any ideas ?

Thank you
Kim

Noel

unread,
Oct 6, 2017, 3:32:40 AM10/6/17
to
Dear Kim,

Maybe you are looking events of the Window object and not the Application object. By default, the Application object only as Open, Close, Idle, SystemError, ConnectionBegin and ConnectionEnd events. It doesn't have the Timer event by defualt.

Best Regards,

Noel

nglk...@gmail.com

unread,
Oct 24, 2017, 4:37:18 AM10/24/17
to
Hello,

Great ! Thank you so much Noel !

Best regards,
Kim
0 new messages