Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Copy & paste RTF text
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement