10-26-2018, 09:58 PM
(This post was last modified: 10-26-2018, 10:00 PM by dave@corplogistics.co.nz.
Edit Reason: An afterthought
)
IW 14.2.6 now.
The code is called in the OnAsyncChange of an iwCombobox and is only called once (traced into).
The event adds a new line to the grid and populates it with two iwEdit's in two cells.
Consequent editing of the iwEdit shows that in the OnAsyncKeypress event of the iwEdit the character entered (EventParams.Values['which']) is correct, but the underlying .Text value is never updated. The [displayed] value is correct in the iwEdit control until the grid is refreshed, then it goes back to the .Text value.
Is there something I am not setting up properly when I create the iwEdit control?
Is there some other way to get a couple of columns in a grid to be editable?
The code is called in the OnAsyncChange of an iwCombobox and is only called once (traced into).
The event adds a new line to the grid and populates it with two iwEdit's in two cells.
Consequent editing of the iwEdit shows that in the OnAsyncKeypress event of the iwEdit the character entered (EventParams.Values['which']) is correct, but the underlying .Text value is never updated. The [displayed] value is correct in the iwEdit control until the grid is refreshed, then it goes back to the .Text value.
Is there something I am not setting up properly when I create the iwEdit control?
Is there some other way to get a couple of columns in a grid to be editable?