What is the behaviour of CHOOSEFILE widget?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • What is the behaviour of CHOOSEFILE widget?

    Dear all
    I'm trying to figure out how to respond to keypresses in the CHOOSEFILE widget ("OK", "Cancel" and "UP"). I thought I was going to be able to control it via GetData() callback. However it is not evident how to know what button has been pressed.
    Could you clarify how to interact with CHOOSEFILE buttons, please? E.g. I press "OK", I do something with the file. At the moment, if I press "Cancel", the dialog disappears irreversibly.
    Thanks