Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TDateEditComboBox data bound update problem
Fri, Aug 23 2019 5:37 AMPermanent Link

Bill

Hi all,
I saw other posts on this components but i'm being crazy on updating data-bound column.
Quickly my question is: when dataset column data is updated?
It seems dataset is updated NOT on lost focus but when another "editable" control gain focus. In this last case all is ok and component act as expected.
If my user edit Date (with correct or uncorrect dates) and does click on a another page (in multi page control) or on the Save button, verifies are done on old dataset value. I checked OnExit event and it's correctly called when user does click on other components but it seems dataset is updated only if cursor goes on editables.

Any suggestion to come out?
Many thanks in advance.
Fri, Aug 30 2019 1:54 AMPermanent Link

Bill

UPDATE:
The problem seems connected with TPagePanel. Every control bound to data doesn't update connected column if user change page from tab.
Is there a setting that avoid this problem? Or any other suggestion?
TIA

Bill wrote:

Hi all,
I saw other posts on this components but i'm being crazy on updating data-bound column.
Quickly my question is: when dataset column data is updated?
It seems dataset is updated NOT on lost focus but when another "editable" control gain focus. In this last case all is ok and component act as expected.
If my user edit Date (with correct or uncorrect dates) and does click on a another page (in multi page control) or on the Save button, verifies are done on old dataset value. I checked OnExit event and it's correctly called when user does click on other components but it seems dataset is updated only if cursor goes on editables.

Any suggestion to come out?
Many thanks in advance.
Image