EControl Syntax Editor SDK
TSmartTagManager.Add Method

Adds new smart tag window.

function Add(Style: integer; Pos: integer; HltStart: integer = 0; HltLength: integer = 0): TSmartTagWnd;

Call Add method to create new smart tag window at position Pos in text. Style index has to point existed style otherwise smart tag control will not be created. 

Define HltStart and HltLength to associate smart tag control with the text range. This text range will be highlighted when smart tag window is activated.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!