Page 1 of 1
Change window icon at runtime
Posted: Thu Apr 19, 2007 8:54 am
by hanifbabar
I want to change window icon at runtime. can any one help me in this regard
Posted: Thu Apr 19, 2007 9:50 am
by ahmadbilal
set_window_property('window name',icon_name, 'icon name / Path');
Posted: Fri Apr 20, 2007 1:04 am
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
Posted: Fri Apr 20, 2007 3:58 am
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
Posted: Mon Apr 23, 2007 6:28 am
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