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
 How to delete the drawn GraphPage?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

liujibao

China
Posts

Posted - 02/09/2004 :  8:28:35 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have draw a curve in a graphpage, but how to delete the GraphPage window ?


Edited by - liujibao on 02/09/2004 9:50:36 PM

easwar

USA
1965 Posts

Posted - 02/09/2004 :  10:18:04 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

If you look at the Origin C language reference documentation for GraphPage, you will see that it is derived from
OriginObject->PageBase->Page->GraphPage
and so it inherits methods and properties from these other classes. And in OriginObject class, there is a Destroy method.

So you can use that method to delete the graph page with code such as:
gpg.Destroy();

Easwar
OriginLab.

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