Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HowTo force Richtextctrl to react on keyboard '{CTRL+V}'
Message
From
14/11/2003 16:58:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00850053
Message ID:
00850094
Views:
22
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform