I would like to have a listcontrol that has column headers like a grid but is
a listcontrol with checkboxes. wx has "CheckListCtrlMixin" is there anything
in Dabo that I can use?
--
John Fabiani
johnf wrote:
> I would like to have a listcontrol that has column headers like a grid but is
> a listcontrol with checkboxes. wx has "CheckListCtrlMixin" is there anything
> in Dabo that I can use?
dCheckList
http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dCheckList.dCheckList.html
Paul
On Wednesday 24 June 2009 01:48:31 pm Paul McNett wrote:
> johnf wrote:
> > I would like to have a listcontrol that has column headers like a grid
> > but is a listcontrol with checkboxes. wx has "CheckListCtrlMixin" is
> > there anything in Dabo that I can use?
>
> dCheckList
> http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dCheckList.dCheckList.
>html
>
> Paul
Does dCheckList have headers? I don't see where I can set them. I don't want
a grid because of the nice easy interface of the list control keyvalues.
--
John Fabiani
johnf wrote:
> Does dCheckList have headers? I don't see where I can set them. I don't want
> a grid because of the nice easy interface of the list control keyvalues.
How many headers do you need? Why can't you just put a label above the checklist?
Paul
On Wednesday 24 June 2009 01:59:31 pm Paul McNett wrote:
> How many headers do you need? Why can't you just put a label above the
> checklist?
Or how about using the first row as the header?
I'm doing that now but it not as good as having a header.
--
John Fabiani
johnf wrote:
> On Wednesday 24 June 2009 01:59:31 pm Paul McNett wrote:
>> How many headers do you need? Why can't you just put a label above the
>> checklist?
>
> Or how about using the first row as the header?
>
> I'm doing that now but it not as good as having a header.
What are you going to say in the header? It isn't as if you have different columns
that mean different things...
Paul
On Wednesday 24 June 2009 02:11:24 pm Paul McNett wrote:
> johnf wrote:
> > On Wednesday 24 June 2009 01:59:31 pm Paul McNett wrote:
> >> How many headers do you need? Why can't you just put a label above the
> >> checklist?
> >
> > Or how about using the first row as the header?
> >
> > I'm doing that now but it not as good as having a header.
>
> What are you going to say in the header? It isn't as if you have different
> columns that mean different things...
>
> Paul
Actually I'm using a long string that contains several fields (for the
Choices). In this case the date, course, location, and session ID. I
considered a grid but it is over kill and list controls are easy to work
with.
--
John Fabiani
On Jun 24, 2009, at 3:28 PM, johnf wrote:
> I would like to have a listcontrol that has column headers like a
> grid but is
> a listcontrol with checkboxes. wx has "CheckListCtrlMixin" is there
> anything
> in Dabo that I can use?
You could modify the dListControl to do what you want; that's
basically what the wx.CheckListCtrl does.
The wx.ListCtrl is a tremendously powerful and hairy beast to deal
with. We've wrapped some of the basic functionality in dListControl,
but the opportunity is there for someone to add more.
-- Ed Leafe
On Wednesday 24 June 2009 02:37:45 pm Ed Leafe wrote:
> On Jun 24, 2009, at 3:28 PM, johnf wrote:
> > I would like to have a listcontrol that has column headers like a
> > grid but is
> > a listcontrol with checkboxes. wx has "CheckListCtrlMixin" is there
> > anything
> > in Dabo that I can use?
>
> You could modify the dListControl to do what you want; that's
> basically what the wx.CheckListCtrl does.
>
> The wx.ListCtrl is a tremendously powerful and hairy beast to deal
> with. We've wrapped some of the basic functionality in dListControl,
> but the opportunity is there for someone to add more.
>
>
> -- Ed Leafe
OK thanks - I'll look into it.
--
John Fabiani