Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Richtext Control: Cut text
Message
 
 
To
24/01/2006 09:04:03
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01089702
Message ID:
01089708
Views:
14
This message has been marked as the solution to the initial question of the thread.
_cliptext = Thisform.oRtf.OBJECT.SelText
Thisform.oRtf.OBJECT.SelText = ""
>
>I thought this was an easy task: I have a richtext RTF control on the form, and a button that is supposed to work as "Cut".
>
>I tried
KEYBOARD '{TAB}'
>KEYBOARD '{Ctrl+x}'
but this does not do anything with the control.
>
>I also trid to check for olecontrol.SelStart and oleControl.SelLength and to concatenate the strings together, but the text formatting makes this very complicated.
>
>Any ideas?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform