Gambas-it

Gambas3 => Domande tecniche => Topic aperto da: vuott - 19 Agosto 2013, 03:12:51

Titolo: Come usare i tasti sul Controllo FileChooser
Inserito da: vuott - 19 Agosto 2013, 03:12:51
Riporto questa discussione apparsa nella M.L.I.:


" I have added the FileChooser to my form. Set the root and filter properties
and enabled "ShowButtons".  It all works except that I cannot figure out how
to access the OK or Cancel button click event. I've tried the change event
but don't see how to tie that to the buttons.

I want to use them to leave the FileChooser with a file path or cancel that
I can catch with a if / endif.

Thanks,
Marty
"


" FileChooser has an Activate and a Cancel event to know if "OK" or
"Cancel" button was clicked.

Regards,
--
BenoƮt Minisini
"