Changing the text value of Tedit doesn't generate an "onchange" event
Original Reporter info from Mantis: HK59 @han.k
-
Reporter name: han
Original Reporter info from Mantis: HK59 @han.k
- Reporter name: han
Description:
If a change Tedit.text like this:
Tedit.text:='Hello world';
This generates an onchange event in Linux (GTK2) or Windows, but not in MacOS (Cocoa)
I fix it by this code:
ra1.text:= initstring.Values['ra'];
{$IfDef Darwin}//{MacOS}
ra1change(nil);{OSX doesn't trigger an event, so ra_label is not updated}
{$ENDIF}
Steps to reproduce:
Change the value of tedit.text and see if an onchange event is generated.
Mantis conversion info:
- Mantis ID: 36665
- OS: MacOS
- OS Build: Sierra
- Version: 2.0.2
- Monitored by: » @han.k (han)