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
 The slide column
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ollthi

Canada
5 Posts

Posted - 02/04/2015 :  10:31:28 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): Origin8.6.0(32 bits)
Operating System: windows 7

Hi,

Is it possible to access the Slide column via originC or Labtalk?
The Slide column is just at the right of the long Name column and list the graph of the project.

Thank you in advance

Ollthi

thierry ollivaud

Castiel

343 Posts

Posted - 02/04/2015 :  11:18:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It looks like the
foreach(PageBase page in fld.PagesAndShortcuts)
loops through the GraphPage in Slide index order. So you can tell the slide index of a graphpage. But in what case would you want to access that column?

妾+   午旦  妹罕妾  妾伊    用仇  妾/     岫ㄞ
 妾京用 仍巨  件 侈   件戶' 甘岫平   /欠  白岫妹
   併             艮          岫  奈 白   岫
                              岫
Go to Top of Page

ollthi

Canada
5 Posts

Posted - 02/05/2015 :  1:43:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Castiel

It looks like the
foreach(PageBase page in fld.PagesAndShortcuts)
loops through the GraphPage in Slide index order. So you can tell the slide index of a graphpage. But in what case would you want to access that column?

妾+   午旦  妹罕妾  妾伊    用仇  妾/     岫ㄞ
 妾京用 仍巨  件 侈   件戶' 甘岫平   /欠  白岫妹
   併             艮          岫  奈 白   岫
                              岫



Hi Castiel,

Thank you for your answer.
I try to reorder automatically graphs in a workspace depending on their positions (which correspond to the slides order).
Names (long and short) are always written the same way: Graph1 / Graph2 / etc... (after a bit of work graph can be delete and/or add)

All the described loop (Originc and Labtalk) on the graph objects doesnt respect this order.

I try to code your answer but it seems that PagesAndShortcuts is an element of RootFolder (and not ActiveFolder?)
foreach(PageBase page in Project.RootFolder.PagesAndShortcuts)
{
strName = page.GetName();
printf(" %s\n", strName );
}

With that i cant access graph elements(?)

Thank you for your help



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