Change window icon at runtime

To discuss Oracle Forms & Reports related technical issues.
Post Reply
hanifbabar
Posts: 6
Joined: Sat Feb 10, 2007 2:12 pm
Location: Pakistan

Change window icon at runtime

Post by hanifbabar »

I want to change window icon at runtime. can any one help me in this regard
ahmadbilal
Posts: 615
Joined: Mon Sep 18, 2006 1:32 am
Location: United Arab Emirates
Contact:

Post by ahmadbilal »

set_window_property('window name',icon_name, 'icon name / Path');
admin
Posts: 2063
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Post by admin »

If you want to change the icon of MDI window then download the samples from the link and check the code in when_new_form_instance trigger,

Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window(TRUE), 'C:\tt.ico', 0 );

topic.asp?TOPIC_ID=12
hanifbabar
Posts: 6
Joined: Sat Feb 10, 2007 2:12 pm
Location: Pakistan

Post by hanifbabar »

Thanks for your help,

I try this one

set_window_property('WINDOW1',icon_name, 'C:\A.ICO');


but it gives message no such set_window_property


and when i tried this on

Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window(TRUE),'C:\A.ICO', 0);


it gives message frm-40734 interna error: pl/sql.......

it think this api will change the icon or mdi window i want to change Child window.


I will wait you quick help
mirza_rehan
Posts: 132
Joined: Sun Apr 02, 2006 10:36 am
Location: Pakistan

Post by mirza_rehan »

Assalam-o-alaikum

you need to register D2KUtil.dll, after register it remove this error "frm-40734 interna error: pl/sql......."


hope it will solve yours proble

take care
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests