Subject | [ibo] (4.7.16) Strange drag behavior in IB_Grids |
---|---|
Author | mightiestpit |
Post date | 2007-02-22T21:13:41Z |
Hi List,
We have recently updated the IB Objects to 4.7.16 and get a Problem
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.
TIA,
Peter Laube
We have recently updated the IB Objects to 4.7.16 and get a Problem
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.
TIA,
Peter Laube