Home » Developer & Programmer » Forms » Add forum
Add forum [message #82744] Mon, 30 June 2003 03:26 Go to next message
Indrani
Messages: 14
Registered: June 2003
Junior Member
I want to ask about a prob which i got during working in D2K forms6i.I am trying to trap ESC key in forms
and i want to remove the form builder in-built icon.So I am requesting you to help me or if you could give me some ideas so that i will be able to do it
prob: How to trap ESC key in form and how to change form in-built icon [message #82745 is a reply to message #82744] Mon, 30 June 2003 03:34 Go to previous messageGo to next message
Indrani
Messages: 14
Registered: June 2003
Junior Member
Tell me how to trap ESC key in forms
and i want to remove the form builder in-built icon.So I am requesting you to help me or if you could give me some ideas so that i will be able to do it
Re: Add forum [message #82747 is a reply to message #82744] Mon, 30 June 2003 07:02 Go to previous messageGo to next message
magnetic
Messages: 324
Registered: January 2003
Senior Member
changing the icon:
[[you should attach the D2KWUTIL library to your forms]]

PROCEDURE change_icon IS
BEGIN
DECLARE
v_WindowHandle PLS_INTEGER;
BEGIN
v_WindowHandle := Win_Api_Utility.Get_Active_Window(True);
Win_Api_Session.Change_MDI_Icon(v_WindowHandle, 'iconname.ico', 0);
END;

Trapping escape key is possible by using the key-others-trigger with code null; in it.
for other keys you are using you should write a trigger .
Re: prob: How to trap ESC key in form and how to change form in-built icon [message #82752 is a reply to message #82745] Mon, 30 June 2003 14:57 Go to previous message
magnetic
Messages: 324
Registered: January 2003
Senior Member
sorry misunderstood your question about the keytrapping.
im afraid oracle cannot trap the esc key
maybe a java code can do it if you are using oracle 9.
the icon procedure i gave you works.
Previous Topic: Storing file names from a specified folder
Next Topic: IS it possible to communicate between Forms 3.0 and Forms 6.0
Goto Forum:
  


Current Time: Sat Mar 02 20:48:21 CST 2024