oform.addobject('jbtoolbar1','jbtoolbar') oform.jbtoolbar1.dock oform.jbtoolbar1.show>The toolbar variable goes out of scope. Either make it a form property reference or a global object (defined private in the main program of the project).
>>SET CLASSLIB TO JBTOOLS ADDITIVE >>jbtoolbar1=createobject("jbtoolbar") >>jbtoolbar.dock() >>jbtoolbar.show() >>>>When run the form the toolbar show and go away..