View Issue Details

IDProjectCategoryView StatusLast Update
0003052JEDI VCL00 JVCL Componentspublic2006-06-08 05:30
ReportermukAssigned Toremkobonte 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.30 
Summary0003052: JvDocking save/load bug handling embedded forms
DescriptionWhen a form is embedded in an another form, LoadDockTreeFromFile will apart it from its parent. See sample project for more.
Additional InformationQuick fix: (there may be side effects)

In JvDockControlForm.DoFloatAllForm
  
Change line
"if not (Screen.CustomForms[I] is TJvDockableForm) then"
to
"if not (Screen.CustomForms[I] is TJvDockableForm) and (Screen.CustomForms[I].Parent = nil)then"
  
TagsNo tags attached.

Relationships

related to 0003753 resolvedobones Reopen 0003052 JvDocking save/load bug handling embedded forms 

Activities

2005-06-23 21:07

 

load bug.zip (5,804 bytes)

muk

2005-10-20 20:17

reporter   ~0008044

Forget the fix in Additional Information box, this just messes up load-save mechanism.

muk

2005-10-20 21:45

reporter   ~0008045

This seems to work:

Again change line in JvDockControlForm.DoFloatAllForm:

"if not (Screen.CustomForms[I] is TJvDockableForm) then"

to

"if (not (Screen.CustomForms[I] is TJvDockableForm)) and (FinddockClient(Screen.CustomForms[I]) <> nil) then"

muk

2006-01-20 11:40

reporter   ~0008413

using above solution for months - it works in my case. Issue may be closed after merging.

obones

2006-04-04 08:39

administrator   ~0008908

remko, any news? If you want I can put the code given by muk in.

obones

2006-06-08 05:30

administrator   ~0009455

This is now in SVN.

Issue History

Date Modified Username Field Change
2005-06-23 21:07 muk New Issue
2005-06-23 21:07 muk File Added: load bug.zip
2005-06-25 04:49 remkobonte Status new => assigned
2005-06-25 04:49 remkobonte Assigned To => remkobonte
2005-10-20 20:17 muk Note Added: 0008044
2005-10-20 21:45 muk Note Added: 0008045
2006-01-20 11:40 muk Note Added: 0008413
2006-04-04 08:39 obones Note Added: 0008908
2006-04-04 08:39 obones Status assigned => feedback
2006-06-08 05:30 obones Status feedback => resolved
2006-06-08 05:30 obones Resolution open => fixed
2006-06-08 05:30 obones Note Added: 0009455
2006-06-09 00:57 obones Relationship added related to 0003753