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 |
|
|