Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAKING MINE DEFAULT- ps THANKS ALL TO WHO RESPOND!!!
Message
 
To
05/11/1997 09:52:24
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00058194
Message ID:
00058452
Views:
30
>>>** 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"   && Check to see if it was successful
>>>    wait window ' No Toolbar OBJECT made'
>>>endif
>>>otb.dock(0)  && puts into docked position at top of screen
>>>otb.show()   && now you can see it.
>>>
>>>
>>>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform