Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the menu pad color programmatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00471562
Message ID:
00471651
Vues:
21
Hi!

Look into the help file for DEFINE BAR command.

First of all, you can define any colors for menu bars. BUT...

The most common approach used by everyone to make user see that some option could not be used - is to disable menu item. You do not need colors at all, just use SKIP clause in DEFINE BAR command or use SET SKIP OF command to change enabled/disabled status of the bars in the menu.

>Stuck at a problem and am running out of time. I have put in toooooo many
>hours and my brain is NOT working. Hoping someone here will have a quick
>answer
>
>In an application I am writing, I have a "View" Pad in my menu.
>
>When a Form is opened, the form includes some choices in the drop down popup
>of this View Pad, needed only by the form.
>
>This is done by the "ActivateEvent" of the form with a "Push" and "Pop"
>popup. followed by a DEFINE BAR mbar OF itsview PROMPT "\-" etc etc
>
>I would like to be able to change the color of the View Pad, when the form
>opens. This way the user knows there are options that he can use. (visual
>aid)
>
>Anybody knows how to do this, if this can even be done in VFP 6, is there a
>windows call I can use
>
>Any and all suggestions would be greatly appreciated.
>
>Thanks
>
>Mohammed
>www.imaginecorp.com/whatwedo.htm
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform