Hello,
I have an application with a TPageControl object, itself containing four TTabSheet items. One of the TTabSheet item contains a TPanel element.
My question is why does the repainting of the TPanel does not work properly ?
To be more precise :
1) If the application starts with the TTabSheet containing the TPanel, active. Then the repainting works OK as long as this TTabSheet stays active.
2) When coming from another active page, making the TTabSheet containing the TPanel active. It sops working correctly : if I cover part of the TPanel with another windows, it does not get repainted when I uncover it back. Why ?
3) If I do something involving a change on the TPanel, then the repainting starts to work again properly.
There is obviously something I am not understanding well in the mechanism of repainting the TPanel. Can somebody give me an advice or a hint.
What should be done and where, so that the TPanel always get repainted ?
Thanks in advance.
Michel
I have an application with a TPageControl object, itself containing four TTabSheet items. One of the TTabSheet item contains a TPanel element.
My question is why does the repainting of the TPanel does not work properly ?
To be more precise :
1) If the application starts with the TTabSheet containing the TPanel, active. Then the repainting works OK as long as this TTabSheet stays active.
2) When coming from another active page, making the TTabSheet containing the TPanel active. It sops working correctly : if I cover part of the TPanel with another windows, it does not get repainted when I uncover it back. Why ?
3) If I do something involving a change on the TPanel, then the repainting starts to work again properly.
There is obviously something I am not understanding well in the mechanism of repainting the TPanel. Can somebody give me an advice or a hint.
What should be done and where, so that the TPanel always get repainted ?
Thanks in advance.
Michel