Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub-menu at right click on form
Message
From
04/01/2001 10:26:33
 
 
To
04/01/2001 08:03:47
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00459270
Message ID:
00459342
Views:
23
Hi Ashish,

I suppose you mean something like this:

DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
local lnkeuze
lnkeuze = 0
DEFINE BAR 1 OF shortcut PROMPT "choice 1"
DEFINE BAR 2 OF shortcut PROMPT "choice 2"
ON SELECTION BAR 1 OF shortcut lnkeuze=1
ON SELECTION BAR 2 OF shortcut lnkeuze=1


ACTIVATE POPUP shortcut
do case
case lnkeuze=1
wait window "choice 1"
case lnkeuze=2
wait window "choice 2"

endcase



You can put this code in the right-click event of your form. (or any other event of any control)

Regards,

Auke
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform