For Programmers: Free Programming Magazines  


Home > Archive > Tcl > March 2004 > Adding and removing fields when using a Mclistbox









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Adding and removing fields when using a Mclistbox
Lucas!

2004-03-30, 3:43 pm

Hey guys, it's really awesome you can post questions and actually
receive quality answers. I'm designing a program and I'm using the
Mclistbox megawidget. This creates several columns that are resizable
and include headers. My problem is I need to be able to remove the
different columns (take the columns and the contents out of the
listbox. I also need to be able to add in columns. I want to create an
exact program that outlook uses. There are several fields and you can
add or take them out.

If someone could help me out with this, i.e. show me the code, or
provide an example, I would appreciate it very much.
Bryan Oakley

2004-03-30, 5:50 pm

Lucas! wrote:

> Hey guys, it's really awesome you can post questions and actually
> receive quality answers. I'm designing a program and I'm using the
> Mclistbox megawidget. This creates several columns that are resizable
> and include headers. My problem is I need to be able to remove the
> different columns (take the columns and the contents out of the
> listbox. I also need to be able to add in columns. I want to create an
> exact program that outlook uses. There are several fields and you can
> add or take them out.


Look at the commands 'pathname column add' and 'pathname column delete'.
You can use those to add or remove columns.

You might also want to consider adding all the columns up front and just
making some of them invisible.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com