开发者

Using Double buffer with VCL controls

My Application have many graphics and visual components... So i switched on doublebufferd = true in each and every components as possible.

later i wanted to use a panel in order to hold some components( it makes alignment easy) but at the same time the panel must have a transparent property (then only i can show the graphics beneath the panel )

so i found a panel 'TJVPanel' in my pallet with transparent property so i used it ,and set transparent = true ; align = right (alright) ;

every thing is ok but when i was resizing, components inside the jvpanel and jvpanel are flicking

so i searched for doublebufferd but not succeeded

can anyone tell me solution for this or recommend me another component

开发者_StackOverflow ,but i prefer using jvpanel with some modification


Have you tried overriding the OnPaint method of your jvPanel so it paints nothing. You may have to get it to paint the child controls inside by passing them Paint messages or calling their Paint method.

I haven't done this for a while but it may point you in the right direction.


There some tms components with transparency but you have to pay ,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜