Lex Luthor writes:
> Is there a way to make each line of a list box to be with one color?
> I'd like to create a list, that has diferent types of item, and the
> user may see each type of item with one color. Is there another way
> to do this ?
Alex,
I can't say if any of this can be done from within vtcl. I don't know
of any way to do what you are asking in a listbox. However, I think
you should be able to do this with text widget using tags. I've done
something similar in an app I've been working on. You can see a
screenshot of my app at:
http://www.menet.umn.edu/~curt/cbb/cbb-main.gif
If this looks like what you are trying to do, then you can grab a copy
of the source code via the main page:
http://www.menet.umn.edu/~curt/cbb/
Depending on what your doing, it's not too much extra work to get most
of the functionality of a list box out of a text widget.
Curt.
--
Curtis Olson E-mail: [EMAIL PROTECTED]
Try Linux! WWW: http://www.menet.umn.edu/~curt