View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004000 | JEDI VCL | 00 JVCL Components | public | 2006-11-22 04:48 | 2007-01-05 01:10 |
Reporter | Shtirliz | Assigned To | |||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0004000: "Cannot set data of control that has no dock orientation" message when loading layout with form docked at CustomDockPanel | ||||
Description | running DockingInCode.exe from jvcl examples, then clicking "Sibling Dock" then clicking "Save layout" and then "Load layout" results in "Cannot set data of control that has no dock orientation" message. Same error I get when loading layout with form docked at CustomDockPanel. Error fixed when commentint 2 lines in JvDockTree.pas code fragment below else raise Exception.CreateRes(@RsEDockCannotSetValueWithNoOrient); procedure TJvDockTree.SetDockSiteSize(const Value: Integer); begin DockSite.Parent.DisableAlign; try if DockSite.Align in [alRight, alBottom] then DockSiteBegin := DockSiteBegin - (Value - DockSiteSize); case DockSiteOrientation of doVertical: DockSite.Width := Value; doHorizontal: DockSite.Height := Value; else raise Exception.CreateRes(@RsEDockCannotSetValueWithNoOrient); end; finally DockSite.Parent.EnableAlign; end; end; | ||||
Tags | No tags attached. | ||||