Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put text into clipboard to be fixed font when pasted.
Message
From
13/06/2008 20:50:50
 
 
To
13/06/2008 20:32:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01243628
Message ID:
01324038
Views:
26
and how do I open that file .. I have downloaded it, thought that SET HELP TO (filename) would work ... but it doesn't

>Dragan --
>
>This object can't get the focus -- it's in a popup form which is a replacement for ToolTipText, so it disappears once the mouse moves away from the object.
>
>As for foxtools.fll ... unfortunately, have never used it, don't know how to use it, nor do I know what I would use it for (my knowledge of the extent of my ignorance grows with each day).
>
>sigh
>
>
>>>Dragan --
>>>
>>>My original reason for this thread was to take some text that was displayed in an edit box in fixed font and be able to paste into elsewhere (Word, for instance) where the fixed font would be maintained.
>>>
>>>Now, using the RTF control, I can see how to get the value -- but still don't know how to put into the clipboard. _cliptext is obviously just the text itself ...
>>>
>>>(BTW, the user can see this text, but the object can't ever get the focus, so the user can't simply do Ctrl+A then Ctrl+C themselves.)
>>
>>Why not let them gain the focus, just keep it readonly. Also, make sure its rightclick menu isn't disabled (there's a property for that, and I think its name is so counterintuitive I can't remember it :).
>>
>>The other way around would be to use some of the _ed* functions (in foxtools.fll) or clipboard API, where you could put .textRTF into the clipboard and tell the system it's in RTF format (let's say, do that when there's text there and your app is losing focus, or something like that - some event catching may be needed).
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform