Home » Developer & Programmer » Forms » disabling function key
disabling function key [message #81210] Thu, 23 January 2003 01:35 Go to next message
swati
Messages: 7
Registered: May 2001
Junior Member
hi ,
I am swati here.
I am using Forms 5.0.5.4.0. with oracle 8i.
I want to disable function keys F7 and F8. That means I want to prevent the form to go in query mode by pressing F7 key. that menas i want the query allowed property to be true .
how to do that? and i want to display a message that 'F7 is not allowed' , when F7 key is pressed. so can any body help me out?
thanx in advance
- swati
Re: disabling function key [message #81212 is a reply to message #81210] Thu, 23 January 2003 02:34 Go to previous messageGo to next message
Ani
Messages: 56
Registered: November 2000
Member
U can use a Key-Others trigger with text
as

null;

at the form level..

This will stop all keys from working....

I myself is not satisfied with the solution...u can sue Key-Fn triggers to stop only F7 and F8 from working....

I am working on that....as soon as I succeed I would let u know......

Bye
Re: disabling function key [message #81299 is a reply to message #81210] Fri, 31 January 2003 15:39 Go to previous message
saravanan
Messages: 70
Registered: October 2000
Member
Use the Key-EntQry trigger. Give whatever message you want. If you want to enter query manually, use ENTER_QUERY builtin.
Previous Topic: forms to excel
Next Topic: Re: forms to excel
Goto Forum:
  


Current Time: Fri Apr 26 03:42:08 CDT 2024