>OK..I follow the book.
>
>I have created a toolbar class. I opened my main form,(top level),
>I attached the class which automatically created the form set.
>
>So far so good.
>
>When I run the form, the toolbar is no where to be seen.
>
>What am I doing wrong ?
>
>I even used VFP's own toolbar classes and attached those, but still no sight of them!
>
>I must be something simple...
I never had much luck adding the toolbar in the designer, I gave up long ago. The way that works is to add the toolbar at run-time in the top-level Activate (with a flag property so it won't be added more than once).
You don't need a formset for it, anyway, just do something like:
top-level Activate:
if type('this.otoolbar') != 'O'
set classlib to myclass
this.otoolbar = createobject('mytoolbar')
endif
In mytoolbar Init:
this.show
this.dock(0)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.