Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is a shortcut menu active ?
Message
From
04/09/2002 09:35:06
 
 
To
04/09/2002 08:37:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00696530
Message ID:
00696574
Views:
11
Thank you i will try this out


Dim

>Yeah, when I re-read that message, it was a bit cryptic.
>
>OK, when you init your application, you can add an array to your screen like:
>
>

>_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.
Previous
Reply
Map
View

Click here to load this message in the networking platform