DoubleBuffered
-
hi all i make a form to draw in it and to eliminate graphics flicker i made this.DoubleBuffered = true; now i transfered my work to work on TabControl but i donot know how to do DoubleBuffered in it so how can i do it thanx Generator
-
hi all i make a form to draw in it and to eliminate graphics flicker i made this.DoubleBuffered = true; now i transfered my work to work on TabControl but i donot know how to do DoubleBuffered in it so how can i do it thanx Generator
Unfortunately you're going to run into a wall when trying to make the TabControl double buffered. You can get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves. At that point it makes more sense to write your own tab control, given the amount of effort you'd go to to extend the existing one just to double buffer it.
------------ Cheers, Patrick
-
Unfortunately you're going to run into a wall when trying to make the TabControl double buffered. You can get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves. At that point it makes more sense to write your own tab control, given the amount of effort you'd go to to extend the existing one just to double buffer it.
------------ Cheers, Patrick
There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.
-
There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.
Brady Kelly wrote:
There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.
Absolutely. I've already abandoned both controls and use custom solutions now (not ones I wrote, 3rd party controls, but free with source code). I just got so fed up with trying to shoehorn them into doing what I wanted that I decided to stop wasting my time and went with something that actually works the way I want it to. The ListView in particular is nasty. It's so seductive, so seemingly easy to create a list-based data presentation, and yet if you try to do even SMALL things outside of what it was designed for you quickly run into multiple impossibilities.
------------ Cheers, Patrick
-
Brady Kelly wrote:
There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.
Absolutely. I've already abandoned both controls and use custom solutions now (not ones I wrote, 3rd party controls, but free with source code). I just got so fed up with trying to shoehorn them into doing what I wanted that I decided to stop wasting my time and went with something that actually works the way I want it to. The ListView in particular is nasty. It's so seductive, so seemingly easy to create a list-based data presentation, and yet if you try to do even SMALL things outside of what it was designed for you quickly run into multiple impossibilities.
------------ Cheers, Patrick
Patrick Sears wrote:
The ListView in particular is nasty. It's so seductive, so seemingly easy to create a list-based data presentation, and yet if you try to do even SMALL things outside of what it was designed for you quickly run into multiple impossibilities.
It's also just plain damn ugly.
-
Unfortunately you're going to run into a wall when trying to make the TabControl double buffered. You can get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves. At that point it makes more sense to write your own tab control, given the amount of effort you'd go to to extend the existing one just to double buffer it.
------------ Cheers, Patrick
Patrick Sears wrote:
get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves.
can u explain these statments please thanx Generator
-
Patrick Sears wrote:
get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves.
can u explain these statments please thanx Generator
hi all i think that i found a method that i can use using drawing in memory as bitmap and then draw my background in the bitmap and draw bitmap again to the screen can any one tell me how to begin search how to use this technique thanx Generator Generator