Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTRL + C
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00503274
Message ID:
00503930
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform