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
0003998 [JEDI VCL] 00 JVCL Components minor always 2006-11-10 20:09 2007-06-19 03:28
Reporter Kiriakos View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version Daily / GIT
Summary 0003998: JvDocking: Hidden Tabbed forms reappearing in VSNetStyle when reloading
Description To reproduce:

- Open the JvDocking\AdvanceDemo
- Set the docking style to VSNet
- Compile and Run
- Create three VSNet Windows and dock them in TabHostForm (Page Control)
- Hide one of the forms by clicking the close button
- Save layout to ini file.
- Load layout from ini file

The hidden dock form reappers.

Solution:

In JvDockControlForm.pas change the if statement of TJvDockTabPageControl.LoadFromStream to:

    if ControlName <> '' then
    begin
      ReloadDockedControl(ControlName, AControl);
      if AControl <> nil then
      begin
        AControl.ManualDock(Self, nil, alClient);
        { DockClients[Index] is always AControl? }
        DockClients[Index].Visible := Boolean(SheetVisible);
        // Two lines added similar to those in SaveToStream
        if (Self is TJvDockVSNETTabPageControl) and (Index = Count - 1) then
          TJvDockVSNETTabSheet(Pages[Index]).OldVisible := Boolean(SheetVisible);
        Inc(Index);
      end;
    end;


Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0013398)
obones (administrator)
2007-06-19 03:28

This is now in SVN

- Issue History
Date Modified Username Field Change
2006-11-10 20:09 Kiriakos New Issue
2007-06-19 03:28 obones Status new => resolved
2007-06-19 03:28 obones Fixed in Version => Daily / SVN
2007-06-19 03:28 obones Resolution open => fixed
2007-06-19 03:28 obones Assigned To => obones
2007-06-19 03:28 obones Note Added: 0013398


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