1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question Implementing Session Timeout In Gui

Discussion in 'Development' started by gnome, Aug 26, 2017.

  1. gnome

    gnome Member

    Hi All,

    I was looking for was to implement session timeout in GUI and followed the link and its working but have side effects where all the click events (like buttons) needs to be double clicked before it executes action.

    Progress KB - How to programmatically timeout an ABL session?

    Checking on the code, I found out that the below code seems to overide the default actions of buttons and impacts all programs on that session.

    Code (progress):
    2.     RUN ResetTimer.
    3. END
    Does anybody knows how to make the buttons behave as normal?

  3. Cecil

    Cecil 17+ years progress programming and still learning.

    I want to say put a "Process Events" and "return no-apply" on the block statement. But I don't think that I am right.
  4. gnome

    gnome Member

    Yea, tried that as well and seems to be not working. The closest solution I made was to change it to below code.

    Code (progress):
    2.     ETIME(TRUE).
    3. END.
    For those still using OpenEdge GUI, "ANY-KEY" will also have impact on when you highlight/copy some text.

Share This Page