[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TextArea and TextEdit Change Event
[Thread Prev] | [Thread Next]
- Subject: Re: TextArea and TextEdit Change Event
- From: CD <dessere.claude@xxxxxx>
- Date: Thu, 17 Sep 2026 13:43:39 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le mercredi 16 septembre 2026 à 23:41 +0100, Bruce Steers a écrit : > > > On Wed, 16 Sept 2026 at 17:20, CD <dessere.claude@xxxxxx> wrote: > > Hello, > > > > While comparing TextArea (gb.qtx) and TextEdit (gb.qtx.ext), > > I encountered some surprising behavior with these text controls. > > > > Hovering the mouse over the control (triggering the _Enter() and > > _Leave() events) causes a _Change() event to fire, even though the > > control's text remains unchanged... > > Is this a bug, or have I misunderstood the _Change() event? > > > > https://gambaswiki.org/wiki/comp/gb.qt4/textarea/.change?l=fr > > https://gambaswiki.org/wiki/comp/gb.qt4.ext/textedit/.change?l=fr > > > > Best regards > > > > Example attached. > > > > > I find it is not Enter / Leave motion, that all seems to work as > expected, no extra Change events here. > > But if i click the IDE window (or any other window) so it pops to > foreground and the test program goes behind it then i get multiple > Change events fire > Then another Change event fires when i click the test program window > to bring it to foreground again. > > I guess as nothing is actually changing it must be a bug. > > Respects > BruceS I agree; it is the loss and subsequent regaining of focus by the form that trigger these _Change events! Consequently, it is impossible to maintain a functional modification flag!!!
| Re: TextArea and TextEdit Change Event | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| WebView object - Event on Link click | Olivier Cruilles <olivier.cruilles@xxxxxxxx> |
| Re: WebView object - Event on Link click | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: WebView object - Event on Link click | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: WebView object - Event on Link click | Olivier Cruilles <olivier.cruilles@xxxxxxxx> |
| Re: WebView object - Event on Link click | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: WebView object - Event on Link click | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| TextArea and TextEdit Change Event | CD <dessere.claude@xxxxxx> |
| Re: TextArea and TextEdit Change Event | Bruce Steers <bsteers4@xxxxxxxxx> |