>if type('this.toptoolbar') != 'O' > set classlib to toolclass > this.toptoolbar = createobject('toptoolbar') > release classlib toolclass >endif > Or, in VFP6, NEWOBJECT() can instantiate an object from a class from without having to add it to your SET CLASSLIB list: this.toptoolbar = NEWOBJECT('toptoolbar','toolclass') >In toolbar init, I have > >this.show >this.dock(0) >