Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Short Popup Hot Keys not responding
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00817396
Message ID:
00819688
Views:
13
>Sergey,
>
>I followed this up (well acidentally). I ran the exe (V7) from the "RUN" dialog, right clicked the list to activate the popup, and pressing the KEY cobination fired as expected.
>
>I closed the exe, and then ran it from inside VFP - and the KEYs did not respond. Same thing running from FXPs (no response).
>
>So, the popup KEY seems only to work when the EXE is "run" outside the VFP environment.
>
>Weird!
>
Hi Terry,

Here's small test form with shortcut popup on right click. In EDE Ctrl+T works, ctrl+U don't because it's used on format menu.
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form
	Caption = "Form1"
	Name = "Form1"
	PROCEDURE RightClick
		DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
		DEFINE BAR 1 OF shortcut PROMPT "sm1" ;
			KEY CTRL+T, "CTRL+T"
		DEFINE BAR 2 OF shortcut PROMPT "sm2" ;
			KEY CTRL+L, "CTRL+U"

		ON SELECTION BAR 1 of shortcut WAIT WIND "1"
		ON SELECTION BAR 2 of shortcut WAIT WIND "2"

		ACTIVATE POPUP shortcut
	ENDPROC
ENDDEFINE
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform