Rajesh Karunakaran
Programmer
Hi all,
In my form, there is are 2 grids and 2 edit boxes. Let's say Grd1, Grd2, Edt1, Edt2. All controls are ReadOnly except for Edt2.
Grids shows records from 2 tables and both the Edit boxes are for Memo fields.
At any given time, the user may be editing content of Edt2 and other controls being updated by a timer. In the timer, I have given <control>.Refresh for all except for Edt2 because the user could be still editing it.
But, now the problem is for some reason, my Edt1 is not being shown updated even when my Grids are updating.
I observed that, if I use thisform.refresh, then it gets refreshed. But, I cannot use this because then it refreshes Edt2 as well and its contents vanish (as control is still inside it and the value not written to disk) and cursor goes to top of edit box. This is obviously by design, isn't it ?
So, is there any way to avoid the refresh of a control when we do thisform.refresh
Any idea?
Rajesh
In my form, there is are 2 grids and 2 edit boxes. Let's say Grd1, Grd2, Edt1, Edt2. All controls are ReadOnly except for Edt2.
Grids shows records from 2 tables and both the Edit boxes are for Memo fields.
At any given time, the user may be editing content of Edt2 and other controls being updated by a timer. In the timer, I have given <control>.Refresh for all except for Edt2 because the user could be still editing it.
But, now the problem is for some reason, my Edt1 is not being shown updated even when my Grids are updating.
I observed that, if I use thisform.refresh, then it gets refreshed. But, I cannot use this because then it refreshes Edt2 as well and its contents vanish (as control is still inside it and the value not written to disk) and cursor goes to top of edit box. This is obviously by design, isn't it ?
So, is there any way to avoid the refresh of a control when we do thisform.refresh
Any idea?
Rajesh