Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy and Paste anyone?
Message
From
14/08/2000 09:38:45
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
14/08/2000 09:32:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00404483
Message ID:
00404485
Views:
12
>Hi Guys
>Any good ideas on how to copy from one editbox and paste into another.
>Thanx-a-ton - John

You can include the standard VFP Edit-Copy and Edit-Paste options on your menu, then you'll be able to copy/paste directly.
OR
If you want to program your own copy/paste, then look at the SelStart, SelLength and Seltext properties of the EditBox control.

e.g. to copy selected text from editbox1 to editbox2

IF THISFORM.edtBox1.SelLength > 0 &&don't really need this
THISFORM.edtBox2.SelText = THISFORM.edtBox1.SelText
ENDIF
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform