Lisp HUG Maillist Archive

multi-column list with checkboxes

Good afternoon all,

Be warned, CAPI noobie here!

Is it possible to have a listbox with two columns, one holding a text and the other a checkbox? Usage would be e.g., to replace a large set of checkboxes. From the CAPI guide/reference it seems you can only have lists with multiple text columns. But this is such a common UI pattern that I must be missing the right page in the manual, no?

And if that would be possible, would it be possible to change the checkbox's state *without* selecting the row?


Merci,
Peter.
-- 
"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe
is winning." -- Rich Cook


Re: multi-column list with checkboxes

Peter Frings wrote on Fri, 29 Oct 2010 15:09:25 +0200 16:09:

| Is it possible to have a listbox with two columns, one holding a text
| and the other a checkbox? Usage would be e.g., to replace a large set
| of checkboxes. From the CAPI guide/reference it seems you can only have
| lists with multiple text columns. But this is such a common UI pattern 
| that I must be missing the right page in the manual, no?
| 
| And if that would be possible, would it be possible to change the
| checkbox's state *without* selecting the row?

You can try YstokGrid for this - http://lisp.ystok.ru/ygrid/
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru


Re: multi-column list with checkboxes

I have the same question about having a column containing images.  I
would guess the underlying os widgets support this sort of thing, so
perhaps this is doable with some under the hood stuff with Cocoa/win32
or undocumented functions or whatever, but I don't know enough to
figure that out...

On Fri, Oct 29, 2010 at 9:09 AM, Peter Frings <peter.frings@agfa.com> wrote:
>
> Good afternoon all,
>
> Be warned, CAPI noobie here!
>
> Is it possible to have a listbox with two columns, one holding a text and the other a checkbox? Usage would be e.g., to replace a large set of checkboxes. From the CAPI guide/reference it seems you can only have lists with multiple text columns. But this is such a common UI pattern that I must be missing the right page in the manual, no?
>
> And if that would be possible, would it be possible to change the checkbox's state *without* selecting the row?
>
>
> Merci,
> Peter.
> --
> "Programming today is a race between software engineers striving
> to build bigger and better idiot-proof programs, and the Universe
> trying to produce bigger and better idiots. So far, the Universe
> is winning." -- Rich Cook
>
>


Updated at: 2020-12-10 08:38 UTC