>>>Sorry for the newbie question- but I haven't done this before
>>>Call to the menu:
>>>
>>>
>>>
>>> DO ssofficemen.mpr
>>>* ACTIVATE POPUP TRANSACTIO
>>> READ EVENTS
>>>
>>>
>>>Code in the menu bar:
>>>
>>>ln_mencol = 2
>>>ln_menrow = 1
>>>CLEAR EVENTS
>>>
>>>
>>>All is well when that activate line is commented
>>>
>>>I'd like to have one of the menu bars active when the menu appears.
>>>
>>>When I uncomment that line though, I have to click the menu bar twice to execute the code.
>>>What am I missing?
>>
>>My popups are like
>>
>> DEFINE POPUP Men_Auftrag SHORTCUT RELATIVE FROM MROW(),MCOL()
>> DEFINE BAR 1 OF Men_Auftrag PROMPT dcNutzer_Root_Bar_C01
>> DEFINE BAR 2 OF Men_Auftrag PROMPT dcNutzer_Root_Bar_C02
>> DEFINE BAR 3 OF Men_Auftrag PROMPT dcDivider
>> DEFINE BAR 4 OF Men_Auftrag PROMPT dcNutzer_Root_Bar_C03
>> ON SELECTION BAR 1 OF Men_Auftrag *
>> ON SELECTION BAR 2 OF Men_Auftrag *
>> ON SELECTION BAR 3 OF Men_Auftrag *
>> ON SELECTION BAR 4 OF Men_Auftrag *
>>
>> ACTIVATE POPUP Men_Auftrag
>>
>> lnBar = BAR()
>>
>> RELEASE POPUPS Men_Auftrag
>> DO CASE
>> CASE lnBar = 4
>>....
>>
>>
>>the dc's are constants
>
>Lutz
>Thank you for your reply.
>I'm using the menu generator to create the menu.
>The code in the .mpr doesn't look like yours.
That's the problem with wizzards.
I've never used it for popups. It's so tiny and limited.
in general you need
-start the action from the popup but normal THIS is nothing the menu can deal with
-or store some value to a var and read after menu. but, as I've said, no idea how to run a mpr for popup
If you don't mind, what does the mpr look like? Post or attach as zip
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]