Results 1 to 2 of 2

Thread: reduce form flick?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2004
    Posts
    362

    reduce form flick?

    how to reduce form flick?

    I have a tab, which has an image in it. When an user double click, I need make the panel in that tab invisible and show another image (within the same tab). I finished it. but when I make the panel invisible and image visible, the screen flicks, and it shows a black background tab for a about 1/2 or maybe 1/4 seconds.

    Double buffer for the form does not fix the problem. any other suggestions? Is there a way that I can force a control to be on the top of another control in the program?

    thanks

    bear

  2. #2
    PowerPoster boops boops's Avatar
    Join Date
    Nov 2008
    Location
    Holland/France
    Posts
    3,201

    Re: reduce form flick?

    As you've noticed, DoubleBuffering the form doesn't affect its child controls. Try replacing the Panel by a PictureBox, which is double buffered by default. Alternatively you could make a double buffered Panel and use that instead. For a code example, see post #6 in this thread. BB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width