Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HowTo force Richtextctrl to react on keyboard '{CTRL+V}'
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00850053
Message ID:
00850599
Views:
28
Sergey,

I also thought so, but sendkeys() did not work even manually hitted CTRL+V worked indicating that setfocus() implemented.
>Hi Yuri,
>
>Yes, all ActiveX controls run in there own windows. You can use SetFocus method of there olecontainer to activate particular ActiveX. For example,
Thisform.oRtf.SetFocus()
>oShell = Createobject("wscript.shell")
>oShell.SendKeys([^V])
will paste clipboard into RTF control the same as WM_PASTE message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform