Results 1 to 5 of 5

Thread: On Shutdown and Clear Events

  1. #1
    Member
    Join Date
    Feb 2012
    Location
    Ontario, Canada
    Posts
    98

    On Shutdown and Clear Events

    I want to enquire if ON SHUTDOWN and CLEAR EVENTS will be supported or do I need to submit an ER. Thanks.

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    I believe they are already supported.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    Quote Originally Posted by barrymavin View Post
    I believe they are already supported.
    On looking in the code ON FINISH does the same thing so i have synonymed it to ON SHUTDOWN. CLEAR EVENTS is in already.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  4. #4
    Member
    Join Date
    Feb 2012
    Location
    Ontario, Canada
    Posts
    98
    I am thinking that ON SHUTDOWN would be used for _SCREEN (i.e. the application) when you click X (upper right) or click CLOSE from the controlbox (upper left). ON FINISH does not run in this case.

  5. #5
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    ON SHUTDOWN is in the next RC8 build which MVPs have access to. It is called when you quit Lianja not when you close a window. There is a form property that you can set on _screen (which is just a form really).

    Code:
    _screen.exitOnClose = .t.
    This will cause QUIT to be executed when you close that window and as Lianja closes all files before exiting it also calls ON SHUTDOWN/FINISH.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us