Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

flickering listview with win32:gui

by Anonymous Monk
on May 22, 2013 at 12:15 UTC ( #1034730=perlquestion: print w/replies, xml ) Need Help??
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. -   -

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1034730]
help
Chatterbox?
[choroba]: As discussed in Using the DATA file handle for ARGV, I usually start my "fun" scripts with *ARGV = *DATA{IO} unless @ARGV;
[choroba]: this was just a remainder
[Discipulus]: ah thanks i forgot that thread (even if i saved it in my homenode)..
[Discipulus]: the node i discovered yesterday nigth was also interesting

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2016-12-06 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.