Hi Danny,
The problem I'm having is that when I run select-drag example and try to
select a rectangle of cells, I get the following symptoms:
1) I can't select columns past column 9 no matter how far I drag the
mouse to the right.
2) After the first selection and hitting the 'reset' button, I cannot
select the cells r0c0, r0c1, r0c2, r0c3, r0c4.
I've also added a printf statement in SelectCB to see if it gets called
every time I click on a cell, and it seems to get called only if I drag
the mouse, not when I just click on it.
I'm not sure if there is a bug in the example code or in
XmNselectCellCallback...
The 'select-drag' example is important for me because I want to be able
to use SHIFT and left mouse button to add rows or columns to the current
selection, and use CTRL and left mouse button to add a cell to the
selection. I ultimately want to be able to change the values of all the
selected with a single entry, like Excel spreadsheet.
Have you been able to perform something like the above in your
development?
I've never downloaded a widget to use in my development, so I would
appreciate it if you could just step me through the basics if you think
I'm missing something.
Thanx:)
Joanna
Danny Backx wrote:
>
> Don't turn to XRT without at least giving us a chance to
> find and fix the problem.
>
> What exactly are you expecting, what do you see that's wrong ?
>
> Danny
>
> Joanna Lee wrote:
> > Were people able to successfully run 'select-drag' example? I'm having
> > a problem selecting cells that I click on. Sometimes the cell gets
> > selected correctly, sometimes it doesn't and selects some other random
> > cell. Please help, or I'll have to think that there's a bug and may be
> > turn to XRT table.
> >
> > Joanna
>
> --
> Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
> Home page : http://users.skynet.be/danny.backx
> Projects: LessTif (http://www.lesstif.org)
> Oleo (http://www.gnu.org/software/oleo/oleo.html)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joanna Lee [EMAIL PROTECTED]
Rhythm & Hues Studios W: (310) 448-7031
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~