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
 Forum for Origin C
 Progress bar and status bar via Origin C

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
peter.cook Posted - 11/20/2003 : 07:48:07 AM
Hi,

Can I display a progress bar linked to origin C ie updated per iteration?

Also, can the status bar be controlled via Origin C?

Cheers,

Pete

4   L A T E S T    R E P L I E S    (Newest First)
peter.cook Posted - 11/21/2003 : 10:05:47 AM
Hi Mike, CP,

Thanks for this (progress bar and staus bar) - looks nice and simple to use too!

I suppose an obvious (minor) request is to allow / disallow change of status bar via Origin C then.

Cheers,

pete



Edited by - peter.cook on 11/21/2003 10:10:51 AM
Mike Buess Posted - 11/20/2003 : 08:52:54 AM
Thanks CP,

So Pete could change the status bar message like this..

string sMsg = "status bar message";
sMsg.Write(WRITE_STATUS_BAR);

But he'll still need LT_execute("ty -q[p|s] 0;") to ensure his message stays on the status bar.

Mike Buess
Origin WebRing Member
cpyang Posted - 11/20/2003 : 08:40:47 AM
hi Mike,

string Write and WriteLine can go more places,

WRITE_SCRIPT_WINDOW, WRITE_STATUS_BAR, WRITE_OUTPUT_LOG, WRITE_MESSAGE_BOX, WRITE_COMPILER_OUTPUT

CP


Mike Buess Posted - 11/20/2003 : 08:36:33 AM
Hi Pete,

1. OC's progress bar is called ProgressBox. In the O7.5 programming guide it's found under Classes > User Interface Controls.

2. I think the status bar can only be controlled indirectly using the LT type command and object. Examples...

LabTalk.type.showstatus(0 or 1); //hide or show status bar

string sCmd = "status bar message";
sCmd.Format("ty -q %s;",sCmd); // format LT command
LT_exectue(sCmd); // change status bar message

Mike Buess
Origin WebRing Member

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