Subject | [IBO] Re: Selecting multiple rows in TIB_Grid |
---|---|
Author | Marco Menardi |
Post date | 2002-11-27T12:37:58Z |
--- In IBObjects@y..., antoni.aloy@v... wrote:
standard behaviour, as it really should be.
I don't know if actual behaviour has some advantages, but the reality
is that no one wants to use the grid selection since they don't know
how to reset the selection, so eventual advantages are lost as well.
Helen, will you discuss and submit to Jason a change that makes
IB_Grid conform to windows look & feel, or there are some (to me)
obscure reasons not to patch the code?
regards
Marco Menardi
> >solution
> > --- In IBObjects@y..., Helen Borrie <helebor@t...> wrote:
> > >
> > > Standard Windows behaviour - click on any row outside the selected
> > region.
> >
> > This DOES NOT work as expected.
> > I had to use the following (suggested) code:
> > if (AButton = mbLeft) and not ((ssShift in AShift) or (ssCtrl in
> > AShift)) then
> > ((Sender as TIB_Grid).DataSource.Dataset as
> > TIB_Query).SelectAll(False);
> >
> >
> > But I do think that the control should have "native" windows feel as
> > standard behaviour... what do you think? My users are disoriented...
> > and adding that code to every grid is time-consuming / error prone...
> > regards
>
> I had the same problem and my users where also very confused. The
> at last was to substitute the grid. :(Try the above code, it works very well. Just wondering why is not a
>
> ---
> Toni
standard behaviour, as it really should be.
I don't know if actual behaviour has some advantages, but the reality
is that no one wants to use the grid selection since they don't know
how to reset the selection, so eventual advantages are lost as well.
Helen, will you discuss and submit to Jason a change that makes
IB_Grid conform to windows look & feel, or there are some (to me)
obscure reasons not to patch the code?
regards
Marco Menardi