Hello Guys,
I have a problem
I have a backgroundpicture in the form and 2 panels 'transparant'
problem is now as I have a great many of buttons on the screen
and when i scroll down my screen will flicker a lot
I have set the form1 doublebuffered = true
and i have used a code.
And that works perfectly
if you don't have many buttons offcourseCode:Public Sub EnableDoubleBuffering() ' Set the value of the double-buffering style bits to true. Me.SetStyle(ControlStyles.DoubleBuffer _ Or ControlStyles.UserPaint _ Or ControlStyles.AllPaintingInWmPaint, _ True) Me.UpdateStyles() End Sub
it start when you have a lot of buttons on the screen
but when you scroll down its go all wrong
and i have used the panel_paint but when i do that and set
and start it again its just flicker like crazy and the program stuckCode:doublebuffered = true
please somebody that can help?
Dummy1912





Reply With Quote