>>In addition to Hilmar's suggestion, you could try placing the toolbar in a container and put your timer control in there with it.
>
>Sorry, doesn't the ToolBar - like the Form - have to be "top-level" in the container hierarchy?
>
>The
visual designer doesn't allow to include a form or a Toolbar on a container. I didn't try doing it programmatically.
>
>Using VFP6.
I may have been advocating for the wrong "Toolbar". I was refering to the OCX
guy:-), my appologies. You can add an ocx tool bar to a container:
oForm.AddObject('cntToolBar','cntToolBarClass')
WITH oform.cntToolBar
.....
ENDWITH
oForm.cntToolBar.AddObject('ocxToolBar','ocxToolBarClass','MSComctlLib.Toolbar.2')
WITH oForm.cntToolBar.ocxToolBar
.....
ENDWITH
Imagination is more important than knowledge