Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying VFP Toolbars at runtime?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00121973
Message ID:
00152518
Views:
32
Hi Mark!

Thanks for your reply -- that approach did work. I've been rather (too) busy, and thus the delay in this reply!

Thanks,
Rishabh.

>>Hey Kamal,
>>
>>>Hi Rishabh,
>>>
SHOW WINDOW "Report Controls"
should do it.
>>
>>No, that does not work. Says Window "Report Controls" has not been defined.
>>
>>There are two other methods possible: 1st being to tinker around with the resource file but this method is unreliable... I wouldn't want to ship a product with such logic; and the other method, where you define the menu with the "Toolbars" pad in it, the problem is that the toolbar does not show automatically. The user would have to go and click there to activate it.
>>
>>I was hoping to find a way whereby it can come up automatically...
>>
>>Rishabh.
>>Click here to email me.
>
>What you need to do is open the foxuser.dbf again and browse it. Look for the record that contains your toolbar name in it. Any records that are custom toolbars can be copied to another resource file. Include this with the app and make sure it is used as the resource file. You can test by:
>
>set resource to newresource
>show window "mytoolbar"
---
Rishabh Bakshi
Swarthmore, PA 19078
Previous
Reply
Map
View

Click here to load this message in the networking platform