[Gambas-user] fill color WebProgressBar

Mayost Sharon sharon at 455.co.il
Tue Jan 5 12:20:20 CET 2021


---------- Original Message -----------
From: "Mayost Sharon" <sharon at 455.co.il>
To: Gambas Mailing List <user at lists.gambas-basic.org>
Sent: Tue, 5 Jan 2021 12:49:56 +0200
Subject: Re: [Gambas-user] fill color WebProgressBar

> ---------- Original Message -----------
> From: Benoît Minisini <g4mba5 at gmail.com>
> To: user at lists.gambas-basic.org
> Sent: Mon, 4 Jan 2021 22:59:26 +0100
> Subject: Re: [Gambas-user] fill color WebProgressBar
> 
> > Le 04/01/2021 à 21:13, Mayost Sharon a écrit :
> > > 
> > > Do you mean this thing:
> > > .gw-progressbar-bar {
> > >     position: absolute;
> > >     height: 100%;
> > >     background: # C0C0C0;
> > >     border: solid 1px white;
> > >     z-index: -1;
> > > }
> > >
> > 
> > Yes. Each control has its own id, so that you can reach it with CSS. 
> > Then you use that class to colorize the bar as you like:
> > 
> > #id > .gw-progressbar-bar {
> >    background-color: yellow;
> > }
> > 
> > Regards,
> > 
> > -- 
> > Benoît Minisini
> > 
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> ------- End of Original Message -------
> 
> Many thanks
> 
> I did not understand how to do this
> Will it be possible to correct me with the attached example
> 
> WebProgressBar1 red
> WebProgressBar2 green
> 
> Thanks
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
------- End of Original Message -------

Sorry I did not attach a file to the previous post
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_css.zip
Type: application/zip
Size: 16312 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210105/ba5786e4/attachment.zip>


More information about the User mailing list