On Wednesday 04 March 2009, M0E Lnx wrote: > I'm not sure how to do this... > > THe progressbar only moves in one direction, and the .label property > is a boolean... > > Dont know how to change any of that. > > On Wed, Mar 4, 2009 at 11:09 AM, Benoît Minisini > <gam...@users.sourceforge.net> wrote: > >> I have a couple of requests for the gb.gtk component (and maybe even > >> the gb.qt as well) > >> > >> It's about progressbars. > >> I'd like to use a progressbar like alternating progressbar (like the > >> one used in the gparted windows while executing changes (top one)) > >> alternates from left to right > >> I'd like to be able to display some text inside the progressbar ... > >> not just the value, but a way to display my own string in there > >> > >> Is this at all possible? > >> > > > > That's something you can do in Gambas easily, isn't it? > > > > -- > > Benoît > > > > Just try to extract your wished control to several parts.
Take a container object, i.e. panel Put a label in it with same width as the panel. For shift left/right use a timer and control the label.left value from 0 to -width and back Put a second label with transparent background color above the first label. Write you message in the label.text happpyyyyyyyyyyyy MOE? Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user