Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JKEY
Message
De
25/08/1998 10:01:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Re: JKEY
Divers
Thread ID:
00129670
Message ID:
00129679
Vues:
38
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform