Log in

View Full Version : actions between controls in different tabs



Xarxus
October 9th, 2022, 11:37
Here I am with another problem. I have a window where I have two tabs. In the first there are several controls; when you enter data on a numeric field of the first tab something should happen on a control on the second tab.
Can it be done or am I inventing something impossible?

Thanks in advance

Moon Wizard
October 9th, 2022, 17:19
It really depends on what the root database nodes are for the windows of the two tabs. If they are the same, you can use hidden fields on the second tab to trigger updates using the onValueChanged events of the fields. If they are not the same, then you would need to register/unregister database event handlers for the onUpdate event to the specific fields you are trying to capture.

Regards,
JPG

Xarxus
October 9th, 2022, 21:50
Great idea...
I lack experience, why didn't I think about it?

Ty!