Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JKEY
Message
From
25/08/1998 10:01:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Re: JKEY
Miscellaneous
Thread ID:
00129670
Message ID:
00129679
Views:
37
>Could somebody help me with the syntax for calling JKEY in browse mode in FOX for WINDOWS. I have never used JKEY before.
>1.How do I set library to jkey
>2.How do I call JKEY(parameters etc.) to activate it in BROWSE mode of a table on a particular field.
>
>Thanks,
>Sue M.
=JKEYACTIV()
=KEYCLEAR()
BROWSE
=POPKEY()
=JKEYDEACTIV()

PROCEDURE JKEYACTIV
parameters jktext,jkprefix,jkwind
SET SYSMENU OFF
_jdblclick=1
JKEYISON=.t.
if parameters()<2
	jkprefix=""
endif	
if parameters()<1
	jktext=""
endif	
if parameters()<3
	=JKEYINIT("U",jktext,jkprefix)
else	
	=JKEYINIT("U",jktext,jkprefix,jkwind)
endif

PROCEDURE JKEYDEACTIV
SET SYSMENU ON
SET SYSMENU AUTOMATIC
=JKEYCANC()
JKEYISON=.f.
set talk off
SHOW GETS

PROCEDUR KEYCLEAR
ON KEY LABEL "HOME" GO TOP
ON KEY LABEL "END"  GO BOTTOM

PROCEDURE POPKEY
POP KEY
ON KEY LABEL "HOME" 
ON KEY LABEL "END"  
ON KEY LABEL "ENTER"
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform