Subject | RE: [ibo] (4.7.16) Strange drag behavior in IB_Grids |
---|---|
Author | Jason Wharton |
Post date | 2007-02-23T21:42:20Z |
Peter,
changes since 4.5. Perhaps what we should do is give you a couple of the
releases in-between to test with and to try and identify exactly what has
changed. Are you open to progressively installing the chain of IBO releases
until the first time it appears broken and then we can look at what has
changed between the two nearest versions and try and pinpoint where things
got changed.
Jason
> We have recently updated the IB Objects to 4.7.16 and get a ProblemI wish I knew off the top of my head but there's been a large amount of
> with dragging in IB_Grids: Just clicking on a Field in the Grid,
> releasing the Button and then moving the mouse produces a Dragging.
> This happens not always, but pretty often. It seems to be a time
> issue, because when i build a testproject with just one grid, on
> query and one datasource, that is no problem.
> We call BeginDragging in the MouseDown Routine, like this.
>
> procedure TFormVorgang.Grid_PositionMouseDown(Sender: TObject; Button:
> TMouseButton; Shift: TShiftState; X, Y: Integer);
> var GridCoord: TGridCoord;
> begin
> case Button of
> mbLeft: begin
> GridCoord := Grid_Position.MouseCoord(X, Y);
> if GridCoord.Y >= Grid_Position.FixedRows then
> Grid_Position.BeginDrag(False, -1);
> end;
> end;
> end;
>
>
> This behavior happens just after we updated the IB Objects. With IBO
> 4.5 this bug did not occur.
>
> Perhaps someone can confirm this Problem, and/or give me a hint what
> has been changed and how we have to ajust our code so that this works
> again.
changes since 4.5. Perhaps what we should do is give you a couple of the
releases in-between to test with and to try and identify exactly what has
changed. Are you open to progressively installing the chain of IBO releases
until the first time it appears broken and then we can look at what has
changed between the two nearest versions and try and pinpoint where things
got changed.
Jason