Home » Developer & Programmer » Forms » disable function keys
disable function keys [message #165934] Mon, 03 April 2006 07:17 Go to next message
RAS_SANKAR
Messages: 42
Registered: March 2006
Location: India
Member
hi all,
how to disable function keys in forms6i(i.e., i want to deactivate the default function keys when running a form)

thanks

Ravi.
Re: disable function keys [message #165935 is a reply to message #165934] Mon, 03 April 2006 07:39 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Add key-nnn triggers for each key you want to disable and put
BEGIN
  NULL; 
END;

in it.

Moved to Forms.

MHE
Re: disable function keys [message #165937 is a reply to message #165935] Mon, 03 April 2006 07:54 Go to previous messageGo to next message
RAS_SANKAR
Messages: 42
Registered: March 2006
Location: India
Member
hi mhe,
thanks for ur reply.
but... it's not working... in what level( i mean form level or block level) trigger i can create..
Re: disable function keys [message #165938 is a reply to message #165937] Mon, 03 April 2006 08:03 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
RAS_SANKAR wrote on Mon, 03 April 2006 14:54

hi mhe,
thanks for ur reply.
but... it's not working... in what level( i mean form level or block level) trigger i can create..

What is not working? Did you receive an error message. Have you created the following triggers at Forms level?

  • Key-CLRBLK (Clear Block)
  • Key-CLRFRM (Clear Form)
  • Key-CLRREC (Clear Record)
  • Key-COMMIT (Accept)
  • Key-CQUERY (Count Query Hits)
  • Key-CREREC (Insert Record)
  • Key-DELREC (Delete Record)
  • Key-DOWN (Down)
  • Key-DUP-ITEM (Duplicate Item)
  • Key-DUPREC (Duplicate Record)
  • Key-EDIT (Edit)
  • Key-ENTQRY (Enter Query)
  • Key-EXEQRY (Execute Query)
  • Key-EXIT (Exit)
  • Key-HELP (Help)
  • Key-LISTVAL (List of Values)
  • Key-MENU (Block Menu)
  • Key-NXTBLK (Next Block)
  • Key-NXT-ITEM (Next Item)
  • Key-NXTKEY (Next Primary Key)
  • Key-NXTREC (Next Record)
  • Key-NXTSET (Next Set of Records)
  • Key-PRINT (Print)
  • Key-PRVBLK (Previous Block)
  • Key-PRV-ITEM (Previous Item)
  • Key-PRVREC (Previous Record)
  • Key-SCRDOWN (Scroll Down)
  • Key-SCRUP (Scroll Up)
  • Key-UP (Up)


MHE
Re: disable function keys [message #165994 is a reply to message #165938] Mon, 03 April 2006 23:01 Go to previous messageGo to next message
RAS_SANKAR
Messages: 42
Registered: March 2006
Location: India
Member
hi maaher

it's working...

(actually i have written the code in key-f1,f2 triggers.so... )

thanks a lot

ravi..
icon14.gif  Re: disable function keys [message #565151 is a reply to message #165935] Fri, 31 August 2012 00:36 Go to previous message
anoopnair
Messages: 1
Registered: August 2012
Location: bangalore
Junior Member

Thanx this worked..!!!
Previous Topic: oracle 6i send sms through gsm modem
Next Topic: How to reload a calling form after closing the called form?
Goto Forum:
  


Current Time: Thu Jul 04 16:52:04 CDT 2024