<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I got into the state where I could not open a FileList and tracked
it down to the ToolBuilder default having retained some state from
an earlier error building a new widget. In particular, the
<parent> ivar was still pointing to some previous SystemWindow
and gthat caused error when trying to create the buttons on the
FileList.<br>
<br>
In ToolBuilder, one could add an ensure: to see that parent always
gets reset:<br>
<br>
<font face="Georgia">buildAll: aList in: newParent<br>
"Build the given set of widgets in the new parent"<br>
| prior |<br>
aList ifNil:[^self].<br>
prior := parent.<br>
[<br>
parent := newParent.<br>
aList do:[:each| each buildWith: self].<br>
] ensure: [</font><font face="Georgia"><font face="Georgia">
"<<<<"<br>
</font> parent := prior.<br>
].</font><br>
<br>
but I guess a better question is why Toolbuilder default doesn't
automatically return a clean builder?<br>
<br>
Cheers,<br>
Bob<br>
</body>
</html>