Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag inside editbox
Message
De
11/02/2020 03:47:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01673002
Message ID:
01673020
Vues:
63
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform