>_SCREEN.AddProperty( "aPopups[1,2]")
><\pre>
>
>Then, whenever you define a popup add a row and store the name of the popup in the array. EG
>
>
>DIMENSION _SCREEN.aPopups[ALEN(_SCREEN.aPopups, 1), 2]
> _SCREEN.aPopups[ALEN(_SCREEN.aPopups, 1), 3] = "myPopup"
><\pre>
>
>If you activate the popup, mark the flag in the second column to .t. eg.
>
>
>ACTIVATE POPUP "myPopup" NOWAIT
>_SCREEN.aPopups[ASUBSCRIPT( _SCREEN.aPopups, ASCAN( _SCREEN.aPopups, 'myPopup'), 1), 2] = .T.
><\pre>
>
>The reverse can be done when deactivate or releasing the popup.
>
>Hope this helps
>
>Mace
>
>
>>>>Is there a way to find out if a certain shortcut menu is defined and active ?
>>>>
>>>>Dimitris
>>>
>>>I'm not aware of any native functions to determine this.
>>>
>>>It shouldn't be too dificult though to manage this by having variables/properties for which the presence of or value of could be tested to determine the existance and state of your popups.
>>>
>>>Mace
>>
>>Thank you for the quick reponse, but what do you mean, can you give me a hint ?
>>
>>Dim.