Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy & paste RTF text
Message
De
03/02/2007 19:09:22
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Copy & paste RTF text
Divers
Thread ID:
01192162
Message ID:
01192162
Vues:
67
I have a RTF olecontrol (richtext.richtextctrl.1) bound to a memo field and which is disabled when the form is in view (ie. non-edit) mode. Users have requested to be able to copy+paste data from one memo field to another, without having to place the form in edit mode first (hence setting olecontrol.enabled =.T.). At present the user cannot enter the RTF control when it is disabled.

What I am trying to create is the equivalent of a readonly property for the RTF control, much like a textbox or edit region, where even if the control is readonly the user can still copy text to the clipboard using the mouse and and Ctrl-C (or right-click menu), but cannot edit the data.

Any help would be appreciated.

Alan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform