Subject RE: [IBO] IBO4 and multiple selection grids
Author Riho-Rene Ellermaa
As usual, when I started to create simple sample (I just love this
expression) it worked ok. Setting TrackGridRow=true did the trick.
But when I looked at my app, then I noticed that it already had it set.
Now, when I select one row in grid and then try to slide scrollbar I get
Click event!!! This is the call stack:

002EA5520 TFDom::GridClick(this=:0169A964, Sender=:0169DA94)
4006B958 C:\WINNT\System32\VCL50.BPL
400BCF1F C:\WINNT\System32\VCL50.BPL
0053264E Ib_grid::TIB_CustomGrid::SetTopRowNum(Self=:0169DA94,
00533466 Ib_grid::TIB_CustomGrid::Slide(Self=:0169DA94, Distance=????)
00532D2B Ib_grid::TIB_CustomGrid::WMVScroll(Self=:0169DA94, Msg=????)

Sorry, that I cant isolate this in small sample, but at least I tried.
And it would have been in C++ Builder anyway so probably no big help

Riho-Rene Ellermaa
senior programmer

-----Original Message-----
From: Jason Wharton [mailto:jwharton@...]
Sent: Tuesday, January 15, 2002 7:00 PM
Subject: Re: [IBO] IBO4 and multiple selection grids

Hmmm... I'll have to log this as a potential issue to look into.

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: "Riho-Rene Ellermaa" <r.ellermaa@...>
To: <>
Sent: Tuesday, January 15, 2002 6:22 AM
Subject: RE: [IBO] IBO4 and multiple selection grids

> I think I found the source of my problems.
> In IBO4.2Fb, when I define OnClick event for TIB_Grid, it is fired
> when scrolling records (It wasn't so in IBO3).
> In my app I caught this event and when no Ctrl or Shift keys were down
> deselected all selections.
> Jason: am I in correct tracks? have there been this kind of changes in
> grid? IMVHO it is NOT click event when I press down arrow and scroll
> through the dataset.
> Riho-Rene Ellermaa
> senior programmer
> Hansabank

Yahoo! Groups Sponsor




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

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<> .

[Non-text portions of this message have been removed]