Subject RE: [IBO] Definite bug in IB_Grid
Author Daniel Jimenez
> I'm slowly getting an IBO development system together with
> the latest source code, but I've a rush on other work just
> started as well :( - Typical as I've been quiet since Xmas. I
> suspect that the MouseDown event is right, but because we now
> have grid rows rather than headings on row 0, any filter on
> the DblClick event needs modifying in these conditions. I
> hope to be able to actually LOOK by next week ;)
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services
>
>

Hi Lester,

I have reported a possible bug in IB_Grid, which may be related to this same
problem late last year, please find a copy below. I Hope this may help you
track down the issue(s).

The scenario is that:

The application has two grids, one displays data from a master table, and
the second grid will displays data from a detail table based on the user's
selected master record, by means of clicking on the "master" grid.

Thus, if the user was to click on a master record in the "Master Grid", if a
detail record(s) associated to the master record where to exist, they will
be displayed on the "Detail Grid"

Now the problem I am having is as follows:
If I use the OnClick event for IB_Grid, after the "master" grid is populated
with all the master records:

(1)
If the user clicks on the first cell of the first row on the "Master" grid,
nothing happens, as if the click never happen (regardless on the number of
times she/he clicks on this same cell).

(2)
But if she/he was to click any other cell except that mention in point (1)
the associated detail record(s) are displayed on the "Detail" grid.

The behaviour mention in point (1) only happens directly after populating
the grid and prior to any other cell click taking place on this "Master
grid". Thus, if the user click on some other cell and then clicked on the
problem cell as described in point (1) the correct and expected result (i.e.
the associated detail record is displayed in the "detail" grid) takes place.

Thank you and good luck :-)

danieL.
____________________________
Comvision Pty. Ltd.

www.comvision.net.au