Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting into string at point of cursor
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00094702
Message ID:
00094709
Views:
26
>Got somebody here who wants to insert into a string at the point the cursor is sitting. Any hints?

Dorris,

If this is an editing window, try the following, after loading foxtools:
* Assuming it's active
lnwhandle = _WOnTop()
* To simply paste from the clipboard
= _EdPaste(lnwhandle)
* To insert whatever characters you want
= _EdInsert(lnwhandle, lcinsertstr, LEN(lcinsertstr))
hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform