View Issue Details

IDProjectCategoryView StatusLast Update
0003189JEDI VCL00 JVCL Componentspublic2005-11-22 09:24
ReporterdeveditAssigned Toobones 
Status resolvedResolutionfixed 
Product Version3.00 RC 1 
Target VersionFixed in Version3.10 
Summary0003189: JVDocking loading problem
DescriptionIn reality this is probably a problem with my code and not yours but I was hoping I could get some help because it's frustrating me.

The problem I'm having is the docking forms are displaying before they are docked in their appropriate places. I have the following rather simplistic code atm:

  jvAppStorageLS := TJvAppINIFileStorage.Create(self);
  jvAppStorageLS.AutoReload := True;
  JvAppStorageLS.Filename := ExtractFilePath(Application.ExeName) + 'DockInfo.ini';

The CreateDockableForm function just create's the forms that will be docked.

I found for whatever reason if I didn't set the autoreload to true it wouldn't load at all but since none of your examples seem to need that I'm thinking that may be my problem. I'm calling this from the OnCreate function of the main form.

Any thoughts? Thanks
TagsNo tags attached.



2005-10-20 21:54

reporter   ~0008047

Your CreateDockableForm must create the form with Visible set False, later LoadDockTreeFromAppStorage call handles visibilites.

Issue History

Date Modified Username Field Change
2005-09-10 14:51 devedit New Issue
2005-10-20 21:54 muk Note Added: 0008047
2005-11-22 09:24 obones Status new => resolved
2005-11-22 09:24 obones Resolution open => fixed
2005-11-22 09:24 obones Assigned To => obones