| woodenbicycle@hotmail.com 2005-05-04, 8:56 am |
| Hello, I have been using a regular listbox in my project. I have
experimented with Tk:HList and Tk:ResizeButton but am still not
satisfied. Perhaps you can give me a better suggestion.
I need a four column listbox. I have been faking the columns by using a
fixed width font and a regular listbox. This works well for my needs.
But I also need header labels above each colum and the ability to click
on a label (to send a callback to start a sort routine). I would like
something that acts like a regular listbox, but has headers like an
HList, has clickable headers like ResizeButton, but is NOT resizable. I
do not need or want the ability to resize and I don't like the look of
the resize handle anyway.
Put another way, I want something that looks just like this:
http://www.perltk.org/articles/hlist/header.png
But with the ability to bind mousebutton1 with the column header
labels. The only way I've been able to do that thus far has been with
ResizeButton. But I don't like the look of its adjustable headers and I
don't want the ability to resize anyway.
Is this possible? Thank you in advance for your help with this.
Pepper
|