View Issue Details

IDProjectCategoryView StatusLast Update
0003753JEDI VCL00 JVCL Componentspublic2006-06-09 01:15
ReporterKiriakosAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.20 
Target VersionFixed in Version3.30 
Summary0003753: Reopen 0003052 JvDocking save/load bug handling embedded forms
DescriptionThe fix provided for 3052 creates problems at least with JvDockVSNetStyle.

The problem occures when you save a layout with autohidden docked forms and then you try to restore it. See in attached image for what happens. The modification excludes the Main Form of the application typically containing the DockServer and DoFloatForm contains code specifically for that.

Additional InformationPossible solution not fully tested for all scenarios but certainly better and safer than the provided one.

Modify DoFloatAllForm to:

procedure DoFloatAllForm;
var
  I: Integer;
  TempList: TList;
begin
  TempList := TList.Create;
  try
    for I := 0 to Screen.CustomFormCount - 1 do
      if not (Screen.CustomForms[I] is TJvDockableForm) and
        (Assigned(FindDockClient(Screen.CustomForms[I])) or
         Assigned(FindDockServer(Screen.CustomForms[I]))) then
          TempList.Add(Screen.CustomForms[I]);

    for I := 0 to TempList.Count - 1 do
      DoFloatForm(TempList[I]);
  finally
    TempList.Free;
  end;
  FreeAllDockableForm;
end;
TagsNo tags attached.

Relationships

related to 0003052 resolvedremkobonte JvDocking save/load bug handling embedded forms 

Activities

2006-06-08 21:31

 

screen1.jpg (88,509 bytes)
screen1.jpg (88,509 bytes)

obones

2006-06-09 01:15

administrator   ~0009504

This is now in SVN.

Issue History

Date Modified Username Field Change
2006-06-08 21:31 Kiriakos New Issue
2006-06-08 21:31 Kiriakos File Added: screen1.jpg
2006-06-09 00:57 obones Relationship added related to 0003052
2006-06-09 01:15 obones Status new => resolved
2006-06-09 01:15 obones Resolution open => fixed
2006-06-09 01:15 obones Assigned To => obones
2006-06-09 01:15 obones Note Added: 0009504