Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag inside editbox
Message
From
11/02/2020 03:47:14
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/02/2020 01:00:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01673002
Message ID:
01673020
Views:
64
>>This is a simple thing which works in any fox's editing window, even a modify memo, but not in an editbox: select a piece of text, (optionally press ctrl) and drag the selection elsewhere in the text. You should have the selection moved (or copied) to where you dropped it.
>>
>>Not so in en editbox. As soon as you click to drag, it unselects.
>>
>>Is there some simple property which would make this work? Or is there some code to write? I looked at the article at https://hackfox.github.io/section4/s4g356.html, but it's about dragging whole controls and OleDrag, not drag-n-drop editing.
>
>It does work with the Richtext control though.

I manipulate text a lot, use it to generate html, insert bits at .selstart at times, wrap .seltext with html tags (just a few simple ones), the link placeholders in it are delimited with braces... Doing that in plain text is a bit of a pain; doing that in rtf would require serious painkillers.

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