Re: Hi all
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Hi all

From: Bryan Oakley <oakley@bardo.clearlight.com>
Date: Tue Feb 28 2006 - 13:08:32 CET

vinayak.mdesai@gmail.com wrote:
> I want to create a multiple column list box [ But I cant use mclistbox
> package] can anyone help me...?
>
> Thanks in advance...
>

a) why can't you use it? Policy? It doesn't work? Something else?
b) can you use the tablelist widget? (http://wiki.tcl.tk/5527)

If you have to create your own from scratch, what are the requirements?
Must the columns be resizable? Must the data be sortable by column? Must
the columns be able to display data in different fonts or colors?

Use a paned window to place them side-by-side and that will give you a
way to resize each column in width. Even if you can't use mclistbox, use
it as an example of how to do some of the techniques (though it doesn't
use panes since they didn't exist at the time I wrote mclistbox). For
example, I think mclistbox shows how to use a proc to vertically scroll
all the widgets in a synchronized fashion.

If you can't use any of the pre-made solutions, usually the way this
group works is that you write the code and then ask us when you can't
make something work right.
Received on Sun Apr 30 02:17:40 2006