Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTRL + C
Message
De
05/05/2001 18:31:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00503274
Message ID:
00503948
Vues:
15
>Dear Friend
>
> Your code bellow is nice
>
> There's only a problema: Editbox is selected in blue, but is
>no trasferred to clipboard area.
> Is there anything missing ?
>
>
>
>
>
>
>
>
>In cmdYourCopy.click
>
>thisform.edit1.selstart = 1
>thisform.edit1.sellength = len(thisform.edit1.value)
>*thisform.edit1.setfocus
>*thisform.edit1.value = thisform.edit1.value+thisform.edit1.seltext
>
>At this point the content of edit1 is in the clipboard.
>You can feed Ctrl+V to the keyboard or use thisform.edit1.seltext to do what you need with the text

The Ctrl+V code will only work if an edit menu with that shortcut is available, or some other application that has that key combination available has focus.

You can still get your code into the clipboard with just a _CLIPTEXT = thisform.Edit1.Value.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform