Re: Alternating colors in List?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Sat, Jun 07, 2003 at 03:17:43PM -0400, irvm at ellijay.com wrote:
> 
> 
> On Saturday 07 June 2003 06:47 am, you wrote:
> >
> >
> > Thanks, I thought that was the case, but was hoping somebody had found
> > an easier way.
> 
> There is, but it involves using Linux and GTK:
> -- make it a 'green bar' list;
>    for row = 1 to 100 by 2 do
>        set_row_background(list,row,#CCFFCC)
>    end for
> 
> Sorry about Windows :)
> 
> Irv
> 

Of course, if you did GTK2 programming under Windows, that'd still work,
but you'd be locked into using GTK widgets.

(Due to bugs, GTK1 under Windows is unlikely to support this.)

As expected, there'd be more overhead to doing things this way.

jbrown

-- 
 /"\  ASCII ribbon              | http://www.geocities.com/jbrown1050/
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   |

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu