Look under the doc folder, there is html documentation about the
multicolumn listbox.
Basically, you can do, for example:
$widget(MyMulticolumnListbox) column add "Column 1"
$widget(MyMulticolumnListbox) column add "Column 2"
Then insert data like:
$widget(MyMulticolumnListbox) insert end "{Line 1 col 1} {Line 1 col 2}"
$widget(MyMulticolumnListbox) insert end "{Line 2 col 1} {Line 2 col 2}"
Alternatively, you could consider using TkTable. It allows in-place editing
(nice for databases).
CG
|--------+------------------------------------->
| | Matteo Centenaro |
| | <[EMAIL PROTECTED]> |
| | Sent by: |
| | [EMAIL PROTECTED]|
| | eforge.net |
| | |
| | |
| | 06/21/2001 04:22 AM |
| | Please respond to vtcl-user|
| | |
|--------+------------------------------------->
>-----------------------------------------------------------------------------------------------------------|
|
|
| To: Viaual Tcl List <[EMAIL PROTECTED]>
|
| cc:
|
| Fax to:
|
| Subject: [vtcl-user] Help for multicolumn object
|
|
|
>-----------------------------------------------------------------------------------------------------------|
Hi All,
Sorry, but now I have some problem with the multicolumn compound!
How can set the number of row and column?
How can set the contenent of each field of the table?
Thanks
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user