View Issue Details

IDProjectCategoryView StatusLast Update
0036665LazarusWidgetsetpublic2020-02-11 02:58
ReporterhanAssigned ToDmitry Boyarintsev 
Status resolvedResolutionno change required 
PlatformOSMacOSOS VersionSierra
Product Version2.0.2Product Build 
Target VersionFixed in Version 
Summary0036665: Changing the text value of Tedit doesn't generate an "onchange" event
DescriptionIf 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}

Steps To ReproduceChange the value of tedit.text and see if an onchange event is generated.
TagsNo tags attached.
Fixed in Revision
Attached Files


Dmitry Boyarintsev

2020-02-11 02:58

developer   ~0121009

this is fixed in trunk and presumably in 2.0.4

please close the issue

Issue History

Date Modified Username Field Change
2020-02-06 13:16 han New Issue
2020-02-11 02:58 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2020-02-11 02:58 Dmitry Boyarintsev Status new => resolved
2020-02-11 02:58 Dmitry Boyarintsev Resolution open => no change required
2020-02-11 02:58 Dmitry Boyarintsev LazTarget => -
2020-02-11 02:58 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2020-02-11 02:58 Dmitry Boyarintsev Note Added: 0121009