Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar customizing
Message
From
15/12/1997 15:38:21
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00064665
Message ID:
00066037
Views:
35
>>This is saved in the resource file. So, either you have RESOURCE set to OFF or your resource file is read-only.
>>
>>Vlad
>>
>>>In VFP 3, I go to View, Toolbars, New. Give my new toolbar a name and drop some buttons on it. All is well. I quit VFP and re-launch VFP. The new toolbar does not appear in the toolbars list. The new toolbar is not available either. I look in my foxuser.dbf and the name of the new toolbar is listed. What am I overlooking/doing wrong? In the same VFP session in which it was created, Activate Window ToolBarName works. In subsequent Activate produces an error -- window not defined (somewhat understandable).
>
>I have RESOURCE set to ON and it is not read-only. When I USE FOXUSER AGAIN and browse the table, I see the toolbar entry with the name I gave it and "TTOOLBAR" in the ID field. Subsequent VFP session yield the error "Window not defined" when I issue ACTIVATE WINDOW MYTOOLBAR
>
>Baffled in Dallas...

I have never shown toolbars at startup the way that you are trying to do it, so I can't give any advice on that approach.
I do have a couple of toolbars that I have shown at startup though, I just instanciate using createobject() them from their classes in the vfpstart.prg. This works fine for me. Is there a reason you don't want to use this method?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform