Hi Petr,
Don't bind directly to the RTF Control. Use an object property or a memvar to store what you want edited and have that edited. Then you can update the back-end data with the revised data.
>I have a problem with RTF Control - when assigning text through textRTF, setting Locked=.f. I lock the actual record with RLOCK (I don't use buffering). The record is locked succesfully, but after making SetFocus method of RTF controls, the lock disappears! There's no my code performing UNLOCK - must be done by the RTF control. Have you any experience or advice for me?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05