Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem With Pictures Inside VFP Menu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Problem With Pictures Inside VFP Menu
Divers
Thread ID:
00670171
Message ID:
00670171
Vues:
64
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform