Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005752 [JEDI VCL] 00 JVCL Components minor always 2011-12-27 10:43 2013-12-13 11:31
Reporter Ulvert View Status public  
Assigned To obones
Priority normal Resolution suspended  
Status resolved   Product Version Daily / GIT
Summary 0005752: JvDesignPanel selection handles does not move with component
Description When a component on a JvDesignPanel is moved or resized the selection frame and handles are not moved or resized with it. This applies to all selected components except the 3:d selected one..?
Strange code here on line 647 of JvDesignImp.pas:
  if Count = 2 then
    ShowHideResizeHandles
  else
    H.UpdateHandles;
Additional Information Code example that seems to work:
procedure TJvDesignSelector.AddToSelection(AValue: TControl);
var
  H: TJvDesignHandles;
  I: Integer;
begin
  if AValue = nil then
    raise EJVCLException.CreateRes(@RsEDesignCannotSelect)
  if not IsSelected(AValue) then
  begin
    H := TJvDesignHandles.Create(Self);
    H.Container := Surface.Container;
    H.Resizeable := Count = 0;
    FHandles.Add(H);
    H.Selected := AValue;
  end;

  ShowHideResizeHandles;

  for I := 0 to Count - 1 do
    with Handles[I] do
    begin
      UpdateHandles;
      Surface.Messenger.DesignComponent(Handles[0], True);
      Surface.Messenger.DesignComponent(Handles[1], True);
      Surface.Messenger.DesignComponent(Handles[2], True);
      Surface.Messenger.DesignComponent(Handles[3], True);
    end;
end;
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0019454)
obones (administrator)
2012-02-22 14:59

Please provide the zipped sources of a sample application showing this
(0019975)
obones (administrator)
2012-06-13 16:29

Any news?
(0020787)
obones (administrator)
2013-12-13 11:31

No news, suspending the issue

- Issue History
Date Modified Username Field Change
2011-12-27 10:43 Ulvert New Issue
2012-02-22 14:59 obones Note Added: 0019454
2012-02-22 14:59 obones Status new => feedback
2012-06-13 16:29 obones Note Added: 0019975
2013-12-13 11:31 obones Note Added: 0020787
2013-12-13 11:31 obones Status feedback => resolved
2013-12-13 11:31 obones Resolution open => suspended
2013-12-13 11:31 obones Assigned To => obones


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker