View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005752 | JEDI VCL | 00 JVCL Components | public | 2011-12-27 10:43 | 2013-12-13 11:31 |
Reporter | Ulvert | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
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. | ||||
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 |