Scrolling in msflexgrid



Hi all,

in a msflexgrid I use the drag function.

If Clicked Then
If Abs(x - DownX) > DragDistance Then
Clicked = False
Grid.Drag
End If
end if

- Works perfect, in the target too. -

The annoying thing is the msflexgrid begins to
scroll when I move the mouse (outside) the control.

I.e. I move the mouse downwards, the msflexgrid scrolls
down too.
The line where I started the drag is invisible then.
Not that good...

The effect goes away when I set msflexgrid.enabled=false.
But I can't find a sure way to enable it afterwards.

Anybody knows a trick to avoid the scrolling in
the msflexgrid?

Thanks and a nice day,
-C-H-A-R-L-E-S-


.



Relevant Pages

  • Re: Is it possible to invert columns and rows in the MSFlexGrid?
    ... > My client wants to scroll up and down instead of sideways when filling ... > Will the MSFlexGrid do this? ... Or any of the other grids that come with ...
    (microsoft.public.vb.database)
  • Scrolling MS FlexGrid
    ... Is there any way to use code to scroll a MSFlexGrid. ... In my flexgrid only 10 rows are visible at a time. ... Regards ...
    (microsoft.public.vb.controls)
  • Re: Scrolling MS FlexGrid
    ... Look at the TopRow property. ... > Is there any way to use code to scroll a MSFlexGrid. ... > In my flexgrid only 10 rows are visible at a time. ...
    (microsoft.public.vb.controls)
  • Scroll to View in MSFlexgrid?
    ... Is there a way to scroll a row in MSFlexgrid into view through code? ... code that sets the selected row, but you can't see it until you use the ... scroll bar to scroll the row into view. ...
    (microsoft.public.vb.controls)