Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect when Edit/Paste occurs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01026570
Message ID:
01026573
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Just expounding on my above suggestion... you'll wanna set the Skip for the paste menu option to check for whether _cliptext is empty, whether the current control that has focus is something you can paste in and is not readonly or disabled (you may even want to check if the contents of the clipboard is text or not). This way your paste menu option will enable and disable properly. When the user selects the paste menu option you have created you can process the contents of _cliptext however you want prior to pasting the clipboard contents.

>If you're talking about getting ahold of the clipboard contents before the actual paste occurs then you will need to make your own paste menu option under the Edit menu. I'm assuming here that this is for an application where you have an MPR/MPX already created.
>
>>Is there anyway to detect when an Edit/Paste has pasted text into a textbox or editbox? I can't seem to detect this type of change via InteractiveChange(), ProgramaticChange() or KeyPress().
>>
>>In certain situations I would like my controls to query the contents being pasted and optionally remove or translate specific chars before the clipboard contents are pasted.
>>
>>Thank you,
>>
>>Malcolm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform