Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer in a Toolbar
Message
 
To
11/05/2003 18:19:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00787155
Message ID:
00787193
Views:
22
>>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
oForm.cntToolBar.AddObject('ocxToolBar','ocxToolBarClass','MSComctlLib.Toolbar.2')
WITH oForm.cntToolBar.ocxToolBar
.....
ENDWITH &&oForm.cntToolBar.ocxToolBar
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform