Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Options's names in main menu programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00822125
Message ID:
00822185
Views:
15
Hello Amilcar;
>
>I have a table named CFG in which I store the defaults Options's names of the main menu,
>
>Example: Department, Groups, Catalog, etc, but the Idea is that the same user change those names in a Config Form.
>
>How can I do that ? I mean after the user login to the application,
>the process in any initial class/form method,
>gets those names from the CFG table and change the options's names of the main manu in real time.
>
>Any Idea or suggestion ?

In that sample I add an item in the menu, on each form that I cross over my app.
Define BAR wttopt+1 OF mywind PROMPT allt(descript);
    skip for iif(type("oapros.standwind")="O",oapros.standwind.lisediting,.f.)
Set MARK OF bar wttopt+1 OF mywind TO .t.
Show MENU ALL
HTH


Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform