>Well, I finally have had time to experiment with tool bars.
>
>I created a navigation toolbar.. (next, previous, etc.)
>
>One of the buttons is Close. This will close the active form. Needless to say when there is none, it does nothing. I would like it to release the toolbar, when there are no active forms.
>
>Tool Bars do not have a release method. How do I do it?
>
>TIA,
>
>Mike
In VFP3 the more sound way is to use Formset and ADDOBJECT() toolbar to this formset. When you want to destroy it, you use Formset.RemoveObject() or just release Formset with its toolbar.
Edward Pikman
Independent Consultant