| |

VerySource

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

Image problem

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-27 01:20:01
| Show all posts |Read mode
I made a seven-segment display control by myself, its parent class is Image, and the display is normal in the main thread, but the redrawing in other threads will cause the entire control to disappear (redrawing a lot of times). I do n’t know friends Know where the problem is?
Reply

Use magic Report

0

Threads

12

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-3-9 09:45:01
| Show all posts
Requires synchronization method.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-3-18 19:45:01
| Show all posts
mad_diablo
Can you make it clear that the younger brother has just played recently.
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-3-23 17:15:01
| Show all posts
Synchronize ()
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-30 10:30:01
| Show all posts
I use API to create threads, so I can't use Synchronize(), the problem has been solved. Thank you.
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