View Issue Details

IDProjectCategoryView StatusLast Update
0001801JEDI VCL00 JVCL Componentspublic2004-05-28 01:18
ReporteranonymousAssigned Touser72 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001801: AV in jvDockControlForm in HideDockChild
Descriptionwhen forms are in tab dock mode closing them raises AV( line 1244 in jvDockControlForm) because DockClient.DockStyle is not assigned at last form
Additional Informationtested on DockOptionDemo
TagsNo tags attached.

Activities

anonymous

2004-05-27 04:16

viewer   ~0004373

AV in HideDockParent at line 1264 too

user72

2004-05-27 05:13

  ~0004374

What JVCL version do you have?

user72

2004-05-27 12:24

  ~0004397

Never mind. I can reproduce it. To fix, change last line of HideDockChild to:

    if (DockWindow is TForm) and (TForm(DockWindow).FormStyle <> fsMDIChild) and (DockClient.DockStyle <> nil) then
      DockClient.DockStyle.HideDockForm(DockClient);

and end of HideDockParent to:

            if DockClient.DockStyle <> nil then
              DockClient.DockStyle.HideDockForm(DockClient);
            HideDockParent(Host.Parent);

this doesn't seem to have any negative side-effects

user72

2004-05-28 01:18

  ~0004404

Updated in CVS

Issue History

Date Modified Username Field Change
2004-05-27 03:47 anonymous New Issue
2004-05-27 04:16 anonymous Note Added: 0004373
2004-05-27 05:13 user72 Note Added: 0004374
2004-05-27 12:24 user72 Note Added: 0004397
2004-05-27 12:25 user72 Status new => assigned
2004-05-27 12:25 user72 Assigned To => user72
2004-05-28 01:18 user72 Status assigned => resolved
2004-05-28 01:18 user72 Resolution open => fixed
2004-05-28 01:18 user72 Note Added: 0004404