Results 1 to 5 of 5

Thread: [RESOLVED] How to remove blinking when load form ...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2017
    Posts
    75

    Resolved [RESOLVED] How to remove blinking when load form ...

    I use gradientpanel Bunifu_UI_v1.52.dll ..
    when i load form with gradient panel the form blink and load slowly..
    how to fix this except remove bunifugradientpanel..??
    Name:  blink.jpg
Views: 4559
Size:  24.1 KB

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How to remove blinking when load form ...

    Flickering is generally the result of poor GDI+ rendering code. If the issue is in your code then you may be able to fix it. If it's in the DLL you're using then you may not be able to do anything. The first thing to try would be to set the DoubleBuffered property of your form to True. If that's required then I'd expect the documentation for the library you're using to specify that. If that doesn't work, check that documentation and see if it does specify any requirements or potential workarounds for issues. If you still have a problem, post more details here about what you're doing.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2017
    Posts
    75

    Re: How to remove blinking when load form ...

    Quote Originally Posted by jmcilhinney View Post
    Flickering is generally the result of poor GDI+ rendering code. If the issue is in your code then you may be able to fix it. If it's in the DLL you're using then you may not be able to do anything. The first thing to try would be to set the DoubleBuffered property of your form to True. If that's required then I'd expect the documentation for the library you're using to specify that. If that doesn't work, check that documentation and see if it does specify any requirements or potential workarounds for issues. If you still have a problem, post more details here about what you're doing.
    i try set doublebuffer to true but my form still flickering..
    i try use blank form n use bunifugradientpanel .there no code just blank with gradient it's still flickering ..
    the problem maybe on bunifugradientpanel.. but i really want it..howwwww?

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 2017
    Posts
    75

    Re: How to remove blinking when load form ...

    i get the answer for remove flickering...


    Protected Overloads Overrides ReadOnly Property CreateParams() As CreateParams
    Get
    Dim cp As CreateParams = MyBase.CreateParams
    cp.ExStyle = cp.ExStyle Or 33554432
    Return cp
    End Get
    End Property

  5. #5
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,500

    Re: [RESOLVED] How to remove blinking when load form ...

    Thank you khabib,

    That's done the job beautifully.

    Poppa
    Along with the sunshine there has to be a little rain sometime.

Tags for this Thread

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