Add forum [message #82744] |
Mon, 30 June 2003 03:26 |
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
|
|
|
|
Re: Add forum [message #82747 is a reply to message #82744] |
Mon, 30 June 2003 07:02 |
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 .
|
|
|
|