Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mark area for copying to clipboard
Message
 
À
24/01/1999 11:57:34
Bernd Mesterom
Com Plus Ultra Edv-Beratung
Mönchengladbach, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00179585
Message ID:
00179649
Vues:
21
Hi Bernd,

>one of my clients wish, to mark an area of an active window for copying the contents of the controls (textboxes etc.) (wich are inside of the selected area) to the clipboard.

There's no native function that will do this. But you can let the user define an area (you can use a container to simulate the rubber band) and the add the Value property to _CLIPTEXT, eg:
_CLIPTEXT = ""
FOR EACH oControl IN THISFORM
  IF position inside selected area
     _CLIPTEXT = _CLIPTEXT + TRANSFORM(oControl.Value,"") + CHR(13)+CHR(10)
  ENDIF
ENDFOR
Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform