Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem With Pictures Inside VFP Menu
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Problem With Pictures Inside VFP Menu
Miscellaneous
Thread ID:
00670171
Message ID:
00670171
Views:
63
I have created a menu using the menu designer in VFP 7.0

Afterwards, I went back in and assigned images, then regenerated.

The menu converts the path of the image to a relative path, but
the path seems to be incorrect.

I have the following path structure for my project:
  crviewer
    +-- Classes
    +-- Data
    +-- DLLS
    +-- Forms
    +-- Images
          +-- Icons
          +-- Menu
          +-- Toolbars
    +-- Include
    +-- Menus
    +-- Programs
The menu is in the Menus folder, and the images I'm assigning are
in the Images\Menu subfolder. My startup program is in the Programs
folder, so I issue DO Programs\Main in development to test.

The .MPR file has
DEFINE BAR 2 OF report PROMPT "\<Select" PICTURE "..\images\menu\rpt_open.bmp"
Notice the "..", which causes the error. It should have written it as:
DEFINE BAR 2 OF report PROMPT "\<Select" PICTURE "images\menu\rpt_open.bmp"
Any ideas?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform