Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HowTo force Richtextctrl to react on keyboard '{CTRL+V}'
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00850053
Message ID:
00850056
Vues:
27
Hi Yuri,

I would try to send 'CTRL+V' directly to control using SendMessage Win API.

>I would like to programmatically populate RTFcontrol.text from clipboard accepting text containing various languages typed in other application, like NotePad, Word or Excel (so plain control.text=".... " may not work here).
>
>For now I can do it only manually when setting focus on the control and pressing CTRL+V. But the command
>
>keyboard '{CTRL+V}'
>
>does not work even in the RTFcontrol.click or RTFcontrol.gotfocus events.
>I tried various settings of RTFcontrol.autoverbmenu without success.
>
>Your opinion and ideas will be highly appreciated.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform