Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I'm trying to build a userinterface for a mysql-database. I am trying to add a listview but it is flickering. Before I used strawberryperl and then it worked fine, but since i've been using Activeperl i'm having more problems with the Win32:GUI module. I saw on the internet that the flickering is a well-known problem, but i can't find a solution. Perhaps someone can help me. Ty.

Replies are listed 'Best First'.
Re: flickering listview with win32:gui
by Anonymous Monk on May 23, 2013 at 02:35 UTC

    saw on the internet that the flickering is a well-known problem, but i can't find a solution.

    How odd, usually every flickering problem is because of flags used or omitted (something about clipping children), or wrong parent/child of a window, or a sizer/layout battle (two windows assigned the same screen position by one or more sizers(/layout managers) battling for TOP position)

Re: flickering listview with win32:gui
by Anonymous Monk on May 22, 2013 at 14:03 UTC

    Are you updating the contents repeatedly in your code? It would help to see that.

    Does it still flicker if you reduce the gui to just a window and a list box with some contents? When does the flickering start as you add more interface and/or links to the database?

      It flickers from start.All I have is a window with a listbox, it's not even connected to the database. It looks silly

        Funny; that doesn't look like code.

        Oh, you answered only the second. -   -