>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?
Kevin,
Rather than selecting the picture place the correct code in the skip for clause ie
.F. picture "images\menu\rpt_open.bmp"
This is a known problem.
HTH
Caroline