flickering problem when using scrollbar in panel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siddhanta
    New Member
    • Oct 2009
    • 33

    flickering problem when using scrollbar in panel

    hi
    i used a scrollbar in my panel. but when i scrollup or down the panel flickered.
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    you don't need to put specific scrollbars for a panel .... they're in-built....

    Set the AutoScroll Property of the Panel to True and then add controls to the forms and try resizing the panel in desgin mode.... you will see when any control inside a panel gets out of the bounds scrollbars.appe ar....


    And to avoid flickering inside the form you set DoubleBuffered property of the form to true... and any do any GDI+ stuff... and it won't flicker much

    Comment

    • akshaymahajan
      New Member
      • Sep 2009
      • 12

      #3
      Along with setting the form's DoubleBuffered property to true, use DoubleBuffered panel instead of normal panel.

      Comment

      Working...