TDBEdit uneditable lazarus / 16-Databases ---------------------------------------------------------------------- LemonParty · 2025-01-24 17:37 I have a weird behavior. When I set focus into TDBEdit the value of cell dissappear. Half of my TDBEdits have this problem the other ones work normally. Readonly property is not set up. Why is this happening? ---------------------------------------------------------------------- marcov · 2025-01-24 17:51 Hard to say. Maybe a dataset with an "on update"  event that only implements some fields? ---------------------------------------------------------------------- LemonParty · 2025-01-24 18:11 No on update event. I tryied with different dataset and it works fine. ---------------------------------------------------------------------- ackarwow · 2025-01-24 18:29 Quote from: LemonParty on January 24, 2025, 06:37:57 pmI have a weird behavior. When I set focus into TDBEdit the value of cell dissappear. Half of my TDBEdits have this problem the other ones work normally. Readonly property is not set up. Why is this happening? Hi @LemonParty Maybe OnEnter event is set and nulling the field? ---------------------------------------------------------------------- korba812 · 2025-01-24 23:19 Maybe you have something in TField.EditFormat property that is causing this problem? ---------------------------------------------------------------------- LemonParty · 2025-01-25 14:48 EditFormat is empty in all fields. ---------------------------------------------------------------------- LemonParty · 2025-01-25 14:55 I found the reason. Field have set up event GetText.