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