How to call function while form closing

Discussion in 'Tally Developer' started by mohankumar, Jul 19, 2013.

    
  1. mohankumar

    mohankumar New Member


    Hi All,

    I have doubt, How can I call the function while form ending or closing.

    Ex:
    [Function : Test]
    01 : Msg Box :"" : "Test"

    While I press ESC or CLOSING form, that time the "Test" function want to call.
     


  2. HVPatel

    HVPatel Active Member


    Try this
    [System: Events]
    AppEndEvent : System End : TRUE : CALL : Test
    [Function : Test]
    01 : Msg Box :"" : "Test"
     



  3. Mohan:
    Do you want to call the function on then event of closing or esc the form without save ?
     


  4. mohankumar

    mohankumar New Member


    Pritam Krishna,

    I want call the function while closing the form.
     



  5. u can use "on form accept"
     
    mpal2311 and hvg88 like this.


  6. mohankumar

    mohankumar New Member


    Ok Thank you very much sir..
     


Share This Page