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
 Forum for Origin C
 Updating Graph Window
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

damianb@turtletech.com

USA
2 Posts

Posted - 07/25/2003 :  10:53:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have created a few C functions for updating multiple graph windows at the same time (usually 3 tiled horizontaly) with variable X,Y ranges and centers. All of my functions use the actual graph window name (ie "Graph1") to accomplish this. It works perfectly until the graph is appended or multiple graphs are opened. I am looking for someway to update all open graph windows or step through all open graph windows without knowing their names.

thanks

rlewis

Canada
253 Posts

Posted - 07/25/2003 :  11:05:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try the following ...


Collection <GraphPage> gPg;
gPg=Project.GraphPages; // All Graph Pages in a project
foreach (GraphPage gpItem in gPg)
{
// do something with gpItem ....
}
Go to Top of Page

damianb@turtletech.com

USA
2 Posts

Posted - 07/25/2003 :  11:48:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thats exactly what I needed. Works great.
Thanks
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