Change window icon at runtime
-
- Posts: 6
- Joined: Sat Feb 10, 2007 2:12 pm
- Location: Pakistan
Change window icon at runtime
I want to change window icon at runtime. can any one help me in this regard
-
- Posts: 615
- Joined: Mon Sep 18, 2006 1:32 am
- Location: United Arab Emirates
- Contact:
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
Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window(TRUE), 'C:\tt.ico', 0 );
topic.asp?TOPIC_ID=12
-
- Posts: 6
- Joined: Sat Feb 10, 2007 2:12 pm
- Location: Pakistan
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
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
-
- Posts: 132
- Joined: Sun Apr 02, 2006 10:36 am
- Location: Pakistan
Who is online
Users browsing this forum: Google [Bot] and 1 guest