Hello,
I've got a little problem with the use of a style document (isl) file.
When I create my custom style with few gradient colors, sometime the application lags. When I use the black.isl file it works really fine with no lags.
Is there any problem with gradients ? Can I Fix these problems ?
Thank you,
Stéphane
What do you mean specfically by the application lagging? Do you mean that it's slower to render everything? If so, are you using any transparencies?
-Matt
Actually, when the controls are loaded (during for instance the Load event of the form) then the whole container flicks and lags...
I'm using transparency and I suppose that my issue comes from that but I would like to know if there is any way to solve this problem ?
If the problem comes from transparencies, then the only real solution is to not use .NET transparancy and instead set the specific colors on the controls themselves. Transparency will cause a parent control to paint into the area specified by the control, walking up the parent chain for as long as there are transparencies, so this will cause many more paint operations to be performed.