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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 The slide column

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
ollthi Posted - 02/04/2015 : 10:31:28 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
ollthi Posted - 02/05/2015 : 1:43:39 PM
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?

©c¡Ï   ¤È¥¹  ©f¨u©c  ©c¥ì    ¥Î¤³  ©c/     ©¦£¯
 ©c¨Ê¥Î ¤´¥¨  ¥ó ¨×   ¥ó¤á' ¥Ì©¦¥­   /¤í  ¥Õ©¦©f
   ¨Ö             ¦á          ©¦£þ  ©` ¥Õ   ©¦
                              ©¦



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 doesn’t 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 can’t access graph elements(?)

Thank you for your help



thierry ollivaud
Castiel Posted - 02/04/2015 : 11:18:19 AM
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?

©c¡Ï   ¤È¥¹  ©f¨u©c  ©c¥ì    ¥Î¤³  ©c/     ©¦£¯
 ©c¨Ê¥Î ¤´¥¨  ¥ó ¨×   ¥ó¤á' ¥Ì©¦¥­   /¤í  ¥Õ©¦©f
   ¨Ö             ¦á          ©¦£þ  ©` ¥Õ   ©¦
                              ©¦

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000