Information générale
Catégorie:
Gestionnaire de menu & Menus
I have created a menu that changes depending on records in a table. I have an invoice part on my menu that I create through code after I call the menu.
define pad _invoice of _msysmenu prompt "\ KEY ALT+I, ""
ON PAD _invoice of _msysmenu activate popup invoice
define popup invoice margin relative shadow color scheme 4
select distinct test.country from test into cursor cltest order by country
scatter memvar
for x = 1 to reccount("cltest")
define bar x of invoice prompt cltest.country
on selection bar x of invoice do form country
skip
next
I then call the same code when I exit the country form that adds a new country so when I click on Invoices on the menu it shows that new country as a selection. The problem I am having is how do I know which option I selected under Invoices. On a differnt form I want to display on the caption the country selected in the menu and change what is visible on the form depending on the selection. How would I do this?
TIA,
Tyler
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement