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,
AValue=????)
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
Hansabank

-----Original Message-----
From: Jason Wharton [mailto:jwharton@...]
Sent: Tuesday, January 15, 2002 7:00 PM
To: IBObjects@yahoogroups.com
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
http://www.ibobjects.com


----- Original Message -----
From: "Riho-Rene Ellermaa" <r.ellermaa@...>
To: <IBObjects@yahoogroups.com>
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
also
> 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
I
> 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

ADVERTISEMENT

<http://rd.yahoo.com/M=215002.1818248.3328688.1261774/D=egroupweb/S=1705
007183:HM/A=847665/R=0/*http://ads.x10.com/?bHlhaG9vbW9uc3RlcjcuZGF0=101
1114179%3eM=215002.1818248.3328688.1261774/D=egroupweb/S=1705007183:HM/A
=847665/R=1>

<http://us.adserver.yahoo.com/l?M=215002.1818248.3328688.1261774/D=egrou
pmail/S=1705007183:HM/A=847665/rand=151751866>

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


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




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