Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RichTextBox control unlocks a record
Message
From
27/10/1999 08:32:27
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00282110
Message ID:
00282156
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform