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
 Bug in GETN Options?

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
Shemini Posted - 06/18/2012 : 5:35:23 PM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 8.6, SR2
Operating System: Windows7

Hello,

I just noticed that when using GETN branches you cannot always default the branch to be open. I used the code:

GETN_BEGIN_BRANCH(col, "Specify Column")
GETN_OPTION_BRANCH(GETNBRANCH_OPEN)
GETN_STR(Col, "Please enter the column name", "")
GETN_END_BRANCH(col)

to try to default the branch to be open but if I run the code and close the branch with the mouse-click on the '-' sign then the next time I run it the branch defaults to closed regardless of the GETN_OPTION_BRANCH code which is supposed to default it to be open. This is obviously not a functional issue as the code will still do everything it needs to but it can be a little inconvenient. Is there a way to set the default branch open/closed that will not be affected by how the branch ended up last time?

Thanks,
Shem
1   L A T E S T    R E P L I E S    (Newest First)
Penn Posted - 06/18/2012 : 9:53:23 PM
Hi Shem,

This behavior is from the GetNBox function, but not GETN options. If the title (the second argument in GetNBox) is specified, the last status will be remembered. If the title is not specified, it will use the GETN options. We will try to improve such behavior in the future version. Thanks for reporting this.

Penn

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