Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing background Color of Shortcut Menus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
01127216
Message ID:
01127999
Vues:
8
I'm afraid, not.

>I'm working on a modificaton for software which was written by another party and is made of a mix compiled code and source. The end user is using several older terminal servers which support only 256 colors. The application uses some really strange blue background colors that are not part of the 256-color pallette. Thus these blue backgrounds come out looking horrible. I was able to change on the screens because source was available for this. However, the menu system consits of a form with large command buttons. When you press a button a shortcut menu appears (with the blue background). It appears that the shortcuts menu's are compiled in the .EXE and must be created using the DEFINE MENU command on the fly because the contents of these shortcut menus are contained in a table. But I think when they fire the DEFINE MENU using the table as a guide they must be including the COLOR clause. Is there anyway (besides getting the source code which is not possible) that I can change
>the background color programatically?
>
>I tried using:
>
>SET COLOR OF SCHEME 2 TO , RGB(0,0,0,192,192,192), RGB(255,255,255,0,0,255)
>
>I was hoping they had just altered the default menu color scheme, but this did not work. Any other suggestions would be greatly appreciated.
>
>-Don
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform