Subject RE: [IBO] Re: Grid multi-select behaviour
Author Antti Kurenniemi
Thanks, I'll give it a go. No child records involved, just some fairly
simple lists (stuff like printing selected documents on one go and so on).

Antti Kurenniemi

-----Original Message-----
From: [] On Behalf
Of DanyM
Sent: 29. heinäkuuta 2010 0:06
Subject: [IBO] Re: Grid multi-select behaviour

I would like to think that calling

procedure TIB_BDataset.SelectAll( State: boolean );

with false for the argument will deselect all selected records.

like so;


I also believe that this could be done in some scroll event. I vaguely
remember that the TIB_Grid scrolls the dataset when rows are clicked w/o
Ctrl or Shift.

Take care if you implement multiselect in a child (detail). Even though the
master has scrolled, the records selected for a different master will remain
selected (IMO a very neat thing if handled with some care - the user will
not be able to see the selected records for the non current master so one
must implement some other means of indication, perhaps outside the grid). I
think you should be able to find an event (either at the master or the
detail) to call SelectAll(false) when the master scrolls as well.



--- In, "Antti Kurenniemi" <Antti@...> wrote:
> Hi all.
> Is there a way to make the IBO grid(s) multi-select behave more like
> windows controls? The way it is now is a little bit difficult / confusing
> my users; the "sticky" selection, even after clicking on an un-selected
> the selection remains, and it's also less than obvious how to un-select
> multiple items from the list.
> I've tried checking the properties but can't figure out a way to get the
> grid to have "normal" multi-select functionality. Any help appreciated.
> TIA,
> Antti Kurenniemi


IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links