[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need information about changed filter selection in the FileChooser control
[Thread Prev] | [Thread Next]
- Subject: Re: Need information about changed filter selection in the FileChooser control
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Sat, 1 Nov 2025 20:07:08 +0100
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Hi Bruce Am 01.11.25 um 19:26 schrieb Bruce Steers:
It's the problem with compound controls.They will usually Inherit UserControl.class so all the UserControl events are automatically listed by the wiki. I added some info about events not happening in the UserControl wiki page https://gambaswiki.org/wiki/comp/gb.qt4/usercontrolHere's the problem,if you look at the FileChooser control source https://gitlab.com/gambas/gambas/-/tree/master/comp/src/gb.form/.src/File/Chooser/ you will see it is a class inheriting UserControl that adds the FDirChooser object. The FDirChooser consists of a DirView, a FileView , a textbox, a combobox and a panel of buttons. The internal controls mouse events are used in the internal operation of the parent Usercontrol so are not detected and sent by the FileChooser itself
Yes, I tried to reassemble FileChooser from source and was surprised about its complexity. The FilterCombo seemed to have a purely internal event handling.
hope that makes senseMy hack will be moot if Benoit adds a filter change event though, but you gotta love a good workaround right? :)
Absolutely :-) 👍! Best regards Claus
| Need information about changed filter selection in the FileChooser control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Need information about changed filter selection in the FileChooser control | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: Need information about changed filter selection in the FileChooser control | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: Need information about changed filter selection in the FileChooser control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Need information about changed filter selection in the FileChooser control | Bruce Steers <bsteers4@xxxxxxxxx> |