Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field read-only
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00740743
Message ID:
00740747
Views:
12
>Is there a way to make a portion of a memo field read-only
>so that a user can add and update text at the end of the
>read-only (unchangeable) section?

Zafer, I don't know any way to do this with a memo field (well, I can think of some ways to try, but I don't know if they'd work), but it's easy to do with the Rich Textbox control against RTF.

When you load in the text, set the SelStart and SelLength so that the whole thing is selected, and set the Protected property. Check out MSKB#253684 for a sample I wrote that shows how to do this.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform