Afshin
Afshin

Reputation: 497

Issue on PowerPack Controls and Graphics upon clearing and redrawing

To briefly explain:

Now, the problem I have is upon using Clear(Color color), everything including shape controls gets disappeared. By my perception, I do not expect shapes to be disappeared because they should be treated as controls, unless I am missing something here. How can I avoid this issue? Any advice would be appreciated.

Upvotes: 0

Views: 261

Answers (1)

Afshin
Afshin

Reputation: 497

Solved the problem by invalidating "shape.Invalidate()" shape controls.

Upvotes: 1

Related Questions