Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Hot Tracking Grid
Fri, Dec 2 2016 4:42 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Is there any way of stopping the grid with RowSelect := true from
tracking the mouse movement and changing the selection when the mouse
moves over the grid. i.e. I only want the selection to change if the
actually click on the grid.

--
Chris Holland
[Team Elevate]
Fri, Dec 2 2016 7:55 AMPermanent Link

Raul

Team Elevate Team Elevate

On 12/2/2016 4:42 AM, Chris Holland wrote:
> Is there any way of stopping the grid with RowSelect := true from
> tracking the mouse movement and changing the selection when the mouse
> moves over the grid. i.e. I only want the selection to change if the
> actually click on the grid.

IS this bound or unbound?

Not seeing it here with bound grid = mouse tracking shows but you need
to actually click on row to get it selected

Raul
Fri, Dec 2 2016 10:01 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

It is bound to a DataSet and I can see the selection changing as I move
the mouse over the grid.

It appears that it only does this if you have a OnCellUpdate event for
one of the columns.

Chris Holland
[Team Elevate]

On 02/12/2016 12:55, Raul wrote:
> On 12/2/2016 4:42 AM, Chris Holland wrote:
>> Is there any way of stopping the grid with RowSelect := true from
>> tracking the mouse movement and changing the selection when the mouse
>> moves over the grid. i.e. I only want the selection to change if the
>> actually click on the grid.
>
> IS this bound or unbound?
>
> Not seeing it here with bound grid = mouse tracking shows but you need
> to actually click on row to get it selected
>
> Raul
>
Fri, Dec 2 2016 1:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< It appears that it only does this if you have a OnCellUpdate event for one of the columns. >>

Can you post the complete OnCellUpdate event handler that you're using ?  The OnCellUpdate event handler is triggered *after* the cell's interface state changes (over, focused, pushed, etc.), so it must be something in the event handler that's causing the selection to "stick".

Tim Young
Elevate Software
www.elevatesoft.com
Sun, Dec 4 2016 1:52 PMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

It was something in my code, I was calling a routine in the OnCellUpdate
that was moving the selected row in the dataset.

Chris Holland
[Team Elevate]

On 02/12/2016 18:18, Tim Young [Elevate Software] wrote:
> Chris,
>
> << It appears that it only does this if you have a OnCellUpdate event for one of the columns. >>
>
> Can you post the complete OnCellUpdate event handler that you're using ?  The OnCellUpdate event handler is triggered *after* the cell's interface state changes (over, focused, pushed, etc.), so it must be something in the event handler that's causing the selection to "stick".
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
Image