Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. Support adding help file for customized X-Function (ORG-7549)

...

 

2. Ability to clear document when duplicate an existing X-Function (ORG-7616)

In X-Function Builder, menu Tools: Clear Document is used to remove document related contents after duplicating an existing X-Function.

Image Removed

 

3. Provide command to open X-Function in X-Function Builder (ORG-7786)

Code Block
edit -x integ1;
// Or using this
integ1 -e;

 

4. Support Auto checkbox for Slider control (ORG-7847)

Code Block
#include <GetNBox.h>
void test_GetN()
{
	GETN_TREE(tr)	
	GETN_SLIDER(slider, "test", 0, "1|100|100")
	
	TreeNode trN = tr.slider;
	octree_set_auto_support(&trN, 1);
	
	GetNBox(tr);
}

The result dialog is:

Image Removed

 

5. LabTalk callable OC function to force recalculate operation executed (ORG-7877)

Click on the recalculate lock and select Show Info from the context menu to get the "operation_uid", then run execute_operation function.

Image Removed

Code Block
execute_operation(operation_uid);

 

6. Change hot key in Code Builder, Ctrl+Shift+F for find in files, and Ctrl+Shift+C for copy full path (ORG-7919)

 

7. OC vector::SetSubVector supports copy by counting elements (ORG-8024)

Code Block
int vectorbase::SetSubVector(vectorbase& vbSource, int c1 = 0, int nCount = -1);
int vector<string>::SetSubVector(vectorbase& vbSource, int c1 = 0, int nCount = -1);

 

8. Improve LabTalk "type -gb" command for text file output (ORG-8306)

Code Block
type -gb[ef[r|n]]

e is for New file which will erase existing file.

f is for output to file only, instead of file and script window.

New line is \r\n by default, n = use \n as new line, r = use \r as new line.

 

9. Pop up menu within GetN dialog (ORG-8466)

Create a new X-Function, and in tree view of X-Function Builder, set GetN Dialog Custom Buttons with "Popup Menu".

Image Removed

Then, edit in Code Builder, include header file "control.h" (#include <control.h>), then in <xf-name>_event1 function, add the following code;

Code Block
if( nEventID == GETNE_ON_CUSTOM_BUTTON1 )
{
    Menu m;
    m.Create();
    m.Add("Item 1",1,MF_DISABLED);
    POINT pt;
    GetCursorPos(&pt);
    m.TrackPopupResMenu(0, pt.x, pt.y, GetWindow());
}

The result will be

Image Removed

 

10. Add more Page and Layer classes LabTalk evaluation functions (ORG-8470)

Code Block
BOOL LT_evaluate(LPCSTR lpcszLabTalkExpression, double * lpdbResult);
BOOL LT_get_var(LPCSTR lpcszLabTalkVarName, double * lpdbResult);
BOOL LT_set_var(LPCSTR lpcszLabTalkVarName, double dbValue);
BOOL LT_get_str(LPCSTR lpcszLabTalkString, char* pBuffer, int nBufferSize);
BOOL LT_set_str(LPCSTR lpcszVar, LPCSTR lpcszContent);

 

Improve TreeNode display in Code Builder Variable window (ORG-8689)

Improve speed of OC compiler (ORG-8697)

Error message of X-Function shows in input window (Script Window) (ORG-8836)

Template support for plotting X-Functions (ORG-8897)

Expose Column method GetAdditionalInfo to OC for getting additional text (ORG-9101)

X-Function to add all sorts of Origin files (ORG-9127)

Better error checking in LabTalk function (ORG-9155)

Method to get date and time custom display format from COM (ORG-9156)

Add option for XYRange to ignore X range (ORG-9185)

Access to select each plot when the same dataset been plotted twice (ORG-9192)

Child pages (Children Display)