>Fred,
>
>Could it be because of the order of dropping the controls/objects on the form?
>
>Dennis
>
>>
>>All I can tell you is it works for me. I recently had to do this for code for a ToolBar that was shared by many forms.
No, it shouldn't be. If you clear it out in the form destroy, it should take care of itself. You already said if you don't populate that property, then the form (and datasession) close normally.