Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy and Paste anyone?
Message
De
14/08/2000 09:38:45
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
14/08/2000 09:32:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00404483
Message ID:
00404485
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform