Regarding Progress Bar [message #84771] |
Fri, 23 April 2004 21:58  |
MEDHA
Messages: 6 Registered: February 2004
|
Junior Member |
|
|
Hi All,
I am executing a procedure on button-pressed of a command button. Now ,the procedure takes few minutes to execute.
So in this time i want to show a progress bar till the procedure gets executed.
I have tried several codes,but the pogress bar increases only once when the timer is expired.
Can i show the progress bar moving till my procedure is executing????
Hope to get response as soon as possible.
Regards
Medha.
|
|
|
|
Re: Regarding Progress Bar [message #84792 is a reply to message #84777] |
Mon, 26 April 2004 23:46   |
MEDHA
Messages: 6 Registered: February 2004
|
Junior Member |
|
|
Hi Inderjeet,
I had already used 'synchronize',but it didn't work.
May be i am not using it correctly.....can u just tell me how to write the code.
But i guess that a "progress bar" will have to be created using java beans.
Can we create it without using beans???
Regards
Medha.
|
|
|
Re: Regarding Progress Bar [message #84829 is a reply to message #84792] |
Sun, 02 May 2004 02:53  |
P.Anbazhagan
Messages: 2 Registered: May 2004
|
Junior Member |
|
|
Hi Medha,
This is Anbazhagan from Tamilnadu,India. I saw u r message "Progress Bar". i am also doing the same thing but doesn't work.
So i used some other idea to view the progress status, i tell u the detailed steps to built.
Do all in the different block and different canvas(stacked view)
1. create 5 display items.
2. Draw rectangle view in the canvas this is the total area of the progress bar
3. Place the 5 items in the rectangle area one after another
4. code for all item set_item_property(itemname displayed property_false) in when-new-form-instance trigger
5.between begin and end of your procedure u put
synchronize;
set_item_property (itemname displayed property_true);
synchronize;
example:
procedure test (v1 number) is
begin
synchronize;
set_item_property (itemname1 displayed property_true);
synchronize;
pl/sql statements....
synchronize;
set_item_property (itemname2 displayed property_true);
synchronize;
pl/sql statements....
:
:
:
:
synchronize;
set_item_property (itemname5 displayed property_true);
synchronize;
end;
like that...
i know this was like childish coding. please give me u r timer concept coding for progress bar then only i can improve..my self better
Tanks & Regards,
Anbu.
|
|
|