| |

VerySource

 Forgot password?
 Register
Search
View: 620|Reply: 4

How to copy and cut the content in Edit with the click of a button? ?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 United States

Post time: 2020-1-6 17:50:01
| Show all posts |Read mode
I want to copy the content in Edit when I click the menu.
Hope to enlighten me! !!
Reply

Use magic Report

1

Threads

27

Posts

24.00

Credits

Newbie

Rank: 1

Credits
24.00

 China

Post time: 2020-1-6 18:21:01
| Show all posts
up
Reply

Use magic Report

0

Threads

25

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-1-6 19:12:01
| Show all posts
// Copy all of the text to the clipboard.
pmyEdit-> SetSel (0, -1);
pmyEdit-> Copy ();
Reply

Use magic Report

0

Threads

25

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-1-6 19:15:01
| Show all posts
// Delete all of the text and copy it to the clipboard.
pmyEdit-> SetSel (0, -1);
pmyEdit-> Cut ();
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-1-8 10:18:01
| Show all posts
Problem solved thanks
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list