Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HowTo force Richtextctrl to react on keyboard '{CTRL+V}'
Message
De
14/11/2003 16:58:50
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00850053
Message ID:
00850094
Vues:
23
>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.

Much simpler:
this.rtF.obJECT.SelRTF="any text you like"
This property has the same role as the Seltext in an editbox.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform