TE Edit Control .NET Core / .NET Framework Help
Product page

Visual C++ Interface

Copy the tern32.dll to your application directory. Now invoke Visual Studio and follow these steps:

Right click on the 'Windows Form' category in the toolbox.

Select 'Customize Toolbox...".

Select the '.Net Framework Components'.

Click on the Browse button and select tern32.dll from the directory where you copied this dll.

Now you would see 'Tern' icon in the toolbar.

You can simply select this icon and drop it into your form.

License Key: Please set the License Key in the beginning of your program to avoid the pop-up nag screens.

Namespace: The control methods are placed in the 'SubSystems.TE' namespace. The control constants are available in the 'tc' class. Therefore, your application module using the TE functions should include the following 'using' statement at the top of the module:

using SubSystems.TE;

You can then pass any TE constants to the editor methods by referring to the 'tc' class as following:

Tern.TerSetFlags5(true,tc.TFLAG5_SET_FORM_TITLE);

Please refer to the Control Methods chapter for the complete description of methods and API functions.

Please refer to the Control Properties and Control Events chapters for a list of control properties and events.

Sample Program: Please refer to the dmo_vbn sample program for an example of creating a word-processor using this control.