The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 progress bar

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
coll@inia. Posted - 05/19/2011 : 05:38:55 AM
Origin Ver. prof. Wxp

I need a progress bar which shows up while code is executing over 3 min.

Is there any coding for Origin 8?

Thanks, julio
4   L A T E S T    R E P L I E S    (Newest First)
abhishekkhare Posted - 08/06/2016 : 04:19:47 AM
Thanks! helped me too

Abhi
Jenneez Posted - 05/29/2011 : 10:39:29 PM
I also ran into the same glitch...this helps so much thank you thank you thank you so much couturier!

Jenny
coll@inia. Posted - 05/20/2011 : 03:44:40 AM
THANK YOU VERY MUCH!
I manage with your code and that being exemplified in Origin help to insert that counter!!.

I really though it was not possible and simple.

Merci beaucoup!!!, julio
couturier Posted - 05/19/2011 : 09:31:26 AM
You can use the break object:

// Initialisation
break.open(Type your text here);
break.min=0; //enter the min value of you counter here
break.max=60; // enter the max value of you counter here
int counter=0; // initialisation of your counter


// each time you need your progres bar to be updated:
counter+=1;
break.set(counter);


// close your progress bar in the end
break.close();

If anything goes wrong inside your code, it will be terminated and your progress bar will stay visible. To close it, you can type
break.close();
in script window or command window

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000