Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List of VFP7 system menu bars with a PICTRES picture
Message
De
21/10/2001 10:12:58
 
 
À
20/10/2001 12:26:48
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00571083
Message ID:
00571428
Vues:
43
Dragan,

Thanks for your patience through this process. I have come to the same conclusion that you have ... that I must manually review which system menu bars have an associated image and place this info in a table that can be queried. Per your comment about updated versions of VFP adding/updating PICTRES images, it would be nice to be able to programmatically query system menu bars for image info. Perhaps in a future release of VFP?

Regards,
Malcolm


>>Hi Dragan,
>>
>>Thanks again for your persistence in helping me answer my question! The problem with your suggestion to check out the contents of the MNX table's Resname field is that 'Quick Menu' fills in this field for ALL menu bars - not just menu bars with an associated PICTRES image.
>>
>>You can verify that the menu designer 'knows' which menu bars have PICTRES images by reviewing the Options 'panel' for any of the 'Quick Menu' generated menu bars because the menu designer will only pre-select the PICTRES option for menu bars with associated pictures. Unfortunately, this knowledge is not taken account when a menu is generated, because the menu generator generates a PICTRES clause for every MNX record with a non-empty Resname field value.
>>
>>Any other suggestions?
>
>Other than "create the list yourself", no. The Pictres clause actually lists only system menu names, and it seems that any picture resourcese which may be associated with them are buried somewhere deep in the innards of VFP. This may be good - if in any newer version, update, SP or whatever we get newer versions of pictures, or more pictures than we had, the .mpr files wouldn't have to be recreated; calling these resources by name will simply bring any pictures they may currently have.
>
>But then, yes, there's no way to know which ones do have pictures, other than trying the menu out.
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform