Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo field read-only
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00740743
Message ID:
00740747
Vues:
13
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform