Hi,
Thlnk I found it. In the panelresize, there is a recalculation of the x,y coordinates in case of negative
I disabled these lines
// if (MinLeft < 0) or (MinTop < 0) then
// begin
// BeginInternalUpdate;
// BeginUpdatePos;
// try
// for c:= 0 to DControlCount - 1 do
// if not DControls[c].IsMember then
// DControls[c].MovePosition(-MinLeft, -MinTop);
// finally
// EndUpdatePos;
// EndInternalUpdate;
// for c := 0 to DControlCount - 1 do
// DControls[c].NotifyAnchoreds(acPosition);
// end;
// end;
Seems its working after that.
// begin
// BeginInternalUpdate;
// BeginUpdatePos;
// try
// for c:= 0 to DControlCount - 1 do
// if not DControls[c].IsMember then
// DControls[c].MovePosition(-MinLeft, -MinTop);
// finally
// EndUpdatePos;
// EndInternalUpdate;
// for c := 0 to DControlCount - 1 do
// DControls[c].NotifyAnchoreds(acPosition);
// end;
// end;
Seems its working after that.
Any hidden problems I could enconter by doing this?
Geert