Progress Bar [message #353367] |
Mon, 13 October 2008 10:58 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
MMA_EG_CAIRO
Messages: 25 Registered: August 2008
|
Junior Member |
|
|
I made a simple example on how to build a statement of the case. I know that it SYNCHRONIZE grant will assist me an opportunity to see the bar "as is the example annex".
But when I tried to move from screen to screen other programs Ofujo a freeze of the program until the completion of the movement ProgressBar
What a solution to this problem ????
Thanks
-
Attachment: BAR.fmb
(Size: 44.00KB, Downloaded 1154 times)
|
|
|
|
|
|
|
|
Re: Progress Bar [message #354062 is a reply to message #353367] |
Thu, 16 October 2008 05:14 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
MMA_EG_CAIRO
Messages: 25 Registered: August 2008
|
Junior Member |
|
|
O people I was very brief Programmer Visual Basic 6.0, I make a repetition of inter as follows:
For I = 1 To 1000000
<Processors>
Next
But this sentence lead to an interruption of the program, even if manufactured progress bar, Will lead to a freeze of the program until the completion of inter-repetition
But I Avalj this problem as follows:
For I = 1 To 1000000
<Processors>
DoEvents
Next
I was able to conduct other operations during the process such major move to another next to the basic program, or other operations on the program until completion of current treatment ----- Etc.
But now on form oracle develobar I can not using it (Synchronize)
Asraana is effective, but once the implementation is another within a program does not accept. Even if another program has moved to freeze programs
I want to know if it is faithful to assist me, instead of the order (Synchronize) I wish to know, what is this???
FOR I IN 1 .. 1000000
LOOP
--PROCESSORS.
SYNCHRONIZE;
END LOOP;
Thank you for all
|
|
|
|
Re: Progress Bar [message #354841 is a reply to message #354736] |
Tue, 21 October 2008 09:37 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
esraa90
Messages: 63 Registered: May 2008 Location: EGYPT
|
Member |
|
|
Hello!
I tried the progress bar as text goes bigger and synhronise,
It works well alone , we should wait and the mouse pointer busy untill it finish.
Kindly, how could I free the mouse pointer while progress bar running?
Thanks in advance
|
|
|
|
Re: Progress Bar [message #355014 is a reply to message #354926] |
Wed, 22 October 2008 04:03 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
esraa90
Messages: 63 Registered: May 2008 Location: EGYPT
|
Member |
|
|
I changed my code, but no change in cursor.
I want to continue dataentry in form during progress bar activation at the top of screen.
The following is my code when_button_pressed for my button 'Start':
DECLARE
BAR NUMBER := 0;
BAR_STEP NUMBER;
BEGIN
set_application_property(cursor_style,'ARROW');
BAR_STEP := 5000;
FOR I IN 1 .. 1000000 LOOP
IF(MOD(I,BAR_STEP) = 0)THEN
BAR := BAR + 1;
SET_ITEM_PROPERTY('BAR',WIDTH,BAR);
set_application_property(cursor_style,'ARROW');
SYNCHRONIZE;
END IF;
END LOOP;
END;
|
|
|
Re: Progress Bar [message #355051 is a reply to message #354926] |
Wed, 22 October 2008 06:58 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
esraa90
Messages: 63 Registered: May 2008 Location: EGYPT
|
Member |
|
|
The following is my code in my 'start' button in WHEN_Button_pressed trigger.
I want to continue dataentry in form during running of the progres bar.
using the following code, I couldn't reach my goal.
DECLARE
BAR NUMBER := 0;
BAR_STEP NUMBER;
BEGIN
set_application_property('cursor_style','ARROW');
BAR_STEP := 5000;
FOR I IN 1 .. 1000000 LOOP
IF(MOD(I,BAR_STEP) = 0)THEN
BAR := BAR + 1;
SET_ITEM_PROPERTY('BAR',WIDTH,BAR);
SYNCHRONIZE;
set_application_property('cursor_style','ARROW');
END IF;
END LOOP;
END;
|
|
|
|
Re: Progress Bar [message #355744 is a reply to message #353367] |
Mon, 27 October 2008 05:44 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
MMA_EG_CAIRO
Messages: 25 Registered: August 2008
|
Junior Member |
|
|
Bdaita I thank you for your cooperation with me
Frankly, I deal with the model 6 did not find a full recovery resulting from the post SYNCHRONIZE, as does the language function DoEvents VB6.0
Asraana movement of the mouse and clear, and clear the screen, but unfortunately I can not move to another screen and then return to the screen program again without freezing them.
Friend, David, frankly personalize to respond very beautiful, but so far I did not find a final solution to this problem!!!
The real problems are not repeated in building inter containing million movement, but talking about millions of Recurrences, which takes minutes like a quarter or half or full hour
Thank you for generally all, I will look into the instrument Timer to address this, although much slower
Thank you again for all your help me and Shaker
Thanks
|
|
|
|
|