>>>** Hide Standard toolbar?
>>>if wexist('Standard')
>>> hide window 'Standard'
>>>endif
>>>
>>>Then, create you toobar object and Show() it.
>>>
>>>otb = createobject("MyTB")
>>>if !type("otb")= "O"
>>> wait window ' No Toolbar OBJECT made'
>>>endif
>>>otb.dock(0)
>>>otb.show()
>>>
>>>
>>>HTH
>>>Barbara
>>
>>Actually I am trying to have mytoolbar be the default when visual foxpro starts up. I been into : tools:options:forms and tried tinkering with it that way but is that the wrong way to go about it?
>
>Timothy- You can do what you want with Barbara's code by placing it in a vfpstart file so it runs every time you open VFP.
I am confused. I have created something called mytoolbar.vxc. It contains my customized classes.. When the view classes icon is clicked, the following is displayed. ADD
STANDARD
OLE CONTROLS
mytoolbar
and the standard always has a check next to it. I want mytoolbar to have the check on IT. Does this clear my sad story up?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."