Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture Bug in Menu Designer in 7.0 sp1
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Picture Bug in Menu Designer in 7.0 sp1
Miscellaneous
Thread ID:
00744791
Message ID:
00744791
Views:
46
Picture files for menu items whose name begins with an underscore (if not preceded by a path) are seen as resource instead of file.

To recreate:

Choose a menu item in the menu designer
Click on the Options button for the item
On the option group that says File and Resource, choose "File"
Choose a file whose name begins with an underscore and remove the path in front of the name
Press OK
Click on the Options button for the item again
The option group now has "Resource" chosen

So for example, lets say I have a file called _NEW.BMP - the generated menu code is

DEFINE BAR 1 OF shortcut PROMPT "Create New Fiscal Period" ;
PICTRES _new.bmp

instead of

DEFINE BAR 1 OF shortcut PROMPT "Create New Fiscal Period" ;
PICTURE "_new.bmp"
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Next
Reply
Map
View

Click here to load this message in the networking platform