TMemo (OnChange Method)
Publicado: Mié Oct 01, 2008 1:49 pm
Hi all
It seems to be a little problem in the OnChange event in the Tmemo control:
If the TMemo receives data from a database on the Form Show, The OnChange
event just works in the second time when altered.
Works perfect if the Tmemo receives a Null value from the database.
The TEdit control does not have this problem and works as expected with or
without data on in it.
Please see the attached zip project for a better understanding this issue.
Obs: In this example you have to modify the cConnect property on the
oNtxDataSource1 component to match the path in your computer.
Thanks in advance and best regards,
Mário Paiva
--
Attached files Debug_X.zip (8.5 KB)Â
It seems to be a little problem in the OnChange event in the Tmemo control:
If the TMemo receives data from a database on the Form Show, The OnChange
event just works in the second time when altered.
Works perfect if the Tmemo receives a Null value from the database.
The TEdit control does not have this problem and works as expected with or
without data on in it.
Please see the attached zip project for a better understanding this issue.
Obs: In this example you have to modify the cConnect property on the
oNtxDataSource1 component to match the path in your computer.
Thanks in advance and best regards,
Mário Paiva
--
Attached files Debug_X.zip (8.5 KB)Â