Subject | Re: Selecting multiple rows in TIB_Grid |
---|---|
Author | Marco Menardi |
Post date | 2002-11-27T09:08:26Z |
--- In IBObjects@y..., Helen Borrie <helebor@t...> wrote:
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
Marco Menardi
>region.
> Standard Windows behaviour - click on any row outside the selected
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
Marco Menardi