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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 freezing display until updating finished
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

andrewdsto

Australia
Posts

Posted - 01/14/2009 :  12:52:18 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.8.0 pro and SR 4(Select Help-->About Origin):
Operating System: win XP

HI all,

Is there anyway to freeze the display until I have finished updating and processing data, graphs etc so that it is 'invisible' to the user. This is able to be done in visual basic, for example, where the user pushes a button I freeze the display and manipulate graphs etc and once everything has been completed I unfreeze the display and the user only sees the final manipulated graph.

I have looked and could not find anything so I assume it does not exist in labtalk. If I am wrong could you please point out where this is.

If this feature does not exist then perhaps originlab may be interested in adding this to future service packs or releases. It can be messy from a users point of view to see graphs being created, resized and deleted, worksheets popping up and disappearing before the final item is displayed.

On another note: one reason I would like this is, in order to duplicate and make identical empty layers in a graph I need to create multiple graphs from templates and then merge them. which I find messy. Perhaps a command to duplicate a layer as well as create a new layer could be incorporated in future release.

Alternatively if anyone knows how to do this simply I would also be interested. I hope I haven't missed a simple command to do this.

thanks Andrew

cpyang

USA
1406 Posts

Posted - 01/14/2009 :  10:00:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe you can hide the whole Origin while your script is running?

doc -m 0;//hide Origin main window
doc -m 1;//show

so you can do something like this, with script window to show progress:


    doc -m 0;
    type -a "Please	wait...";
    //do your things
    //for now, just some loop to waste time
    loop(i,1,10) {
    	sec -w 1;
    	type "$(i): continue to wait...";
    }
    doc -m 1;
    



CP
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000