[Gambas-user] How do I use the buttons on the FileChooser control?
Benoît Minisini
gambas at ...1...
Sun Aug 18 21:04:25 CEST 2013
Le 18/08/2013 19:53, Marty McGlensey a écrit :
> 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
More information about the User
mailing list