205
|
Is it possible to show just expressions
oDCOCX_Exontrol1:AddWild("<fgcolor=00FF00>(")
oDCOCX_Exontrol1:AddWild("<fgcolor=00FF00>)")
oDCOCX_Exontrol1:AddExpression("<fgcolor=FF0000><b>(*","<fgcolor=FF0000> ","<fgcolor=FF0000><b>*)",nil,nil)
oDCOCX_Exontrol1:InsertText("some text ( another text ) other text\r\n",1)
oDCOCX_Exontrol1:InsertText("some text (* another text *) other text\r\n",1)
oDCOCX_Exontrol1:Show := "expression"
|
204
|
How can I stop any highlight
oDCOCX_Exontrol1:AddWild("<fgcolor=00FF00>(")
oDCOCX_Exontrol1:AddWild("<fgcolor=00FF00>)")
oDCOCX_Exontrol1:AddExpression("<fgcolor=FF0000><b>(*","<fgcolor=FF0000> ","<fgcolor=FF0000><b>*)",nil,nil)
oDCOCX_Exontrol1:InsertText("some text ( another text ) other text\r\n",1)
oDCOCX_Exontrol1:InsertText("some text (* another text *) other text\r\n",1)
oDCOCX_Exontrol1:Show := ""
|
203
|
How can I highlight the start of the line until a specified character is found

oDCOCX_Exontrol1:AddExpression("^","<fgcolor=FF0000> ",":",nil,nil)
oDCOCX_Exontrol1:Refresh()
|
202
|
Can I use code completion without any UI
oDCOCX_Exontrol1:CodeCompletion := exCodeCompletionEnableNoUI
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:[Context,nil]:Add("class",nil,nil,nil)
|
201
|
How can I hide the control's horizontal scroll bar
oDCOCX_Exontrol1:ScrollBars := exVertical
|
200
|
Is it possible to change the line's height

oDCOCX_Exontrol1:LineHeight := "value + 8 * dpi"
oDCOCX_Exontrol1:DrawGridLines := true
|
199
|
How to bold everything between two * (asterisk) characters

local var_StdFont as stdFont
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_StdFont := oDCOCX_Exontrol1:Font
var_StdFont:Name := "Consolas"
var_StdFont:Size := 12
oDCOCX_Exontrol1:AddExpression("<fgcolor=FF0000><b>*","<fgcolor=FF0000> ","<fgcolor=FF0000><b>*",nil,nil)
oDCOCX_Exontrol1:InsertText("some text * another text * other text\r\n",1)
oDCOCX_Exontrol1:Refresh()
|
198
|
How to bold everything that starts with * (asterisk), to the end of the line

local var_StdFont as stdFont
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_StdFont := oDCOCX_Exontrol1:Font
var_StdFont:Name := "Consolas"
var_StdFont:Size := 12
oDCOCX_Exontrol1:AddWild("<fgcolor=FF0000><b>\**")
oDCOCX_Exontrol1:InsertText("some text * another text * other text\r\n",1)
oDCOCX_Exontrol1:Refresh()
|
197
|
How to make a * (asterisk) bold, not the entire / rest line

local var_StdFont as stdFont
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_StdFont := oDCOCX_Exontrol1:Font
var_StdFont:Name := "Consolas"
var_StdFont:Size := 12
oDCOCX_Exontrol1:AddWild("<fgcolor=FF0000><b>\*")
oDCOCX_Exontrol1:InsertText("some text * another text * other text\r\n",1)
oDCOCX_Exontrol1:Refresh()
|
196
|
How can I change the control's font (template)

oDCOCX_Exontrol1:Template := "Font { Name = `Consolas`; Size = 12 }"
oDCOCX_Exontrol1:AddKeyword("<fgcolor=FF0000>class</fgcolor>",nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
195
|
How can I change the control's font (runtime)

local var_StdFont as stdFont
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_StdFont := oDCOCX_Exontrol1:Font
var_StdFont:Name := "Consolas"
var_StdFont:Size := 12
oDCOCX_Exontrol1:AddKeyword("<fgcolor=FF0000>class</fgcolor>",nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
194
|
When I click and drag to try and select some text, sometimes my cursor turns into a hand and drags the whole text in the window around. I would like to disable this feature, could you tell me what it is called so I can disable it please
oDCOCX_Exontrol1:OLEDropMode := exOLEDropAutomatic
|
193
|
How can I display information about events the control fires

METHOD OCX_Exontrol1Event(EventID) CLASS MainDialog
// Event event - Notifies the application once the control fires an event.
OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:[EventParam,-2]) ))
RETURN NIL
oDCOCX_Exontrol1:AddWild("<fgcolor=808080>(?*)</fgcolor>")
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality",nil,nil)
oDCOCX_Exontrol1:Refresh()
|
192
|
How do I highlights words based on wild characters

oDCOCX_Exontrol1:AddWild("<fgcolor=0000FF><b>[MC]*_HANDLER*</b></fgcolor>(*)")
oDCOCX_Exontrol1:Refresh()
|
191
|
How do I highlights words based on wild characters

oDCOCX_Exontrol1:AddWild("<fgcolor=0000FF><b> *</b></fgcolor>(*)*;")
oDCOCX_Exontrol1:Refresh()
|
190
|
How can I provide different tooltip for the same keyword

METHOD OCX_Exontrol1QueryContext(XCursor,YCursor,QContext) CLASS MainDialog
// QueryContext event - Queries for the context at the specified location, to provide different tooltips for the same keyword on QueryContextToolTip event.
QContext := YCursor
RETURN NIL
METHOD OCX_Exontrol1QueryContextToolTip(QContext,Keyword,QToolTip,QToolTipTitle) CLASS MainDialog
// QueryContextToolTip event - Asks for the tooltip/title of the keyword on the context retrieved by the QueryContext event.
QToolTip := QContext
QToolTipTitle := "Keyword Found At Line:"
RETURN NIL
oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:AddKeyword("<fgcolor=FF0000><b>keyword</b></fgcolor>",nil,nil,nil)
oDCOCX_Exontrol1:Text := ""
oDCOCX_Exontrol1:InsertText("here's the keyword on the first line",nil)
oDCOCX_Exontrol1:InsertText("\r\nhere's the keyword on the second line",nil)
oDCOCX_Exontrol1:InsertText("\r\nhere's the keyword on the third line",nil)
|
189
|
Is it possible to left, right or center align the inline tooltip

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:CaretLine := 6
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := RGB(240,240,240)
oDCOCX_Exontrol1:TempInlineToolTip := "<font ;6>Left Alignment<br><c>Center Alignment<br><r>Right Alignment"
oDCOCX_Exontrol1:Refresh()
|
188
|
Is it possible to display the inline tooltip with a different appearance than temporarily inline tooltip

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","<r>a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.",nil,nil)
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap | exInlineToolTip
oDCOCX_Exontrol1:[Background,exInlineToolTipForeColor] := RGB(128,128,128)
oDCOCX_Exontrol1:[Background,exInlineToolTipBackColor] := RGB(240,240,240)
oDCOCX_Exontrol1:CaretLine := 6
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := RGB(255,40,0)
oDCOCX_Exontrol1:[Background,exTempInlineToolTipForeColor] := RGB(0,0,1)
oDCOCX_Exontrol1:TempInlineToolTip := "<br><c><font ;12>This is a bit of text that's shown temporarily only. <br><c>Now, click the <off -4><b>class</b></off> keyword, in the top...<br>"
oDCOCX_Exontrol1:Refresh()
|
187
|
How can I display the inline tooltip over the lines, instead pushing the lines

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := RGB(255,255,0)
oDCOCX_Exontrol1:CaretLine := 3
oDCOCX_Exontrol1:TempInlineToolTip := "This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed."
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap | exInlineToolTipOver
oDCOCX_Exontrol1:Refresh()
|
186
|
Is it possible to display the inline tooltip all the time

METHOD OCX_Exontrol1SelChange() CLASS MainDialog
// SelChange event - Occurs when the user selects text in the control.
oDCOCX_Exontrol1:TempInlineToolTip := "This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed."
RETURN NIL
oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := RGB(255,255,0)
oDCOCX_Exontrol1:CaretLine := 12
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap
oDCOCX_Exontrol1:Refresh()
|
185
|
Is it possible to display images in the inline tooltip

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:CaretLine := 4
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := 0x1000000
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap
oDCOCX_Exontrol1:TempInlineToolTip := "<img>1</img>This is a bit of text that's shown programatically under the current line"
|
184
|
How can I change the visual appearance of the temporarily inline tooltip

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:CaretLine := 4
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := 0x1000000
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap
oDCOCX_Exontrol1:TempInlineToolTip := "This is a bit of text that's shown programatically under the current line"
|
183
|
How can I display programmatically the inline tooltip, but using word-wrapping

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:CaretLine := 4
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := RGB(240,240,240)
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap
oDCOCX_Exontrol1:TempInlineToolTip := "This is a bit of text that's shown programatically under the current line"
|
182
|
How can I display programmatically the inline tooltip

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:CaretLine := 4
oDCOCX_Exontrol1:[Background,exTempInlineToolTipBackColor] := RGB(240,240,240)
oDCOCX_Exontrol1:TempInlineToolTip := "<br><c>This is a bit of text that's shown programatically under the current line<br>"
|
181
|
How can I show the inline tooltip with a different appearance

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.",nil,nil)
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap | exInlineToolTip
oDCOCX_Exontrol1:[Background,exInlineToolTipBackColor] := 0x1000000
oDCOCX_Exontrol1:[Background,exInlineToolTipForeColor] := RGB(128,0,0)
oDCOCX_Exontrol1:Refresh()
|
180
|
Is it possible to prevent moving the lines after the inline tooltip

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.",nil,nil)
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap | exInlineToolTipOver | exInlineToolTip
oDCOCX_Exontrol1:[Background,exInlineToolTipBackColor] := RGB(255,255,0)
oDCOCX_Exontrol1:Refresh()
|
179
|
How can I display the inline tooltip, when typing only

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:ToolTipOnTyping := false
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.",nil,nil)
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap | exInlineToolTipOnChange
oDCOCX_Exontrol1:[Background,exInlineToolTipBackColor] := RGB(240,240,240)
oDCOCX_Exontrol1:Refresh()
|
178
|
How do I enable the inline tooltip support

oDCOCX_Exontrol1:LineNumberWidth := -1
oDCOCX_Exontrol1:LineNumberBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","a set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.",nil,nil)
oDCOCX_Exontrol1:AllowInlineToolTip := exInlineToolTipWordWrap | exInlineToolTip
oDCOCX_Exontrol1:[Background,exInlineToolTipForeColor] := RGB(128,128,128)
oDCOCX_Exontrol1:Refresh()
|
177
|
How do I display a tooltip for a non-keyword

METHOD OCX_Exontrol1MouseMove(Button,Shift,X,Y) CLASS MainDialog
// MouseMove event - Occurs when the user moves the mouse.
oDCOCX_Exontrol1:ShowToolTip(oDCOCX_Exontrol1:[WordFromPoint,-1,-1,nil],nil,nil,"+8","+8")
RETURN NIL
|
176
|
How do I get the text from the cursor

METHOD OCX_Exontrol1MouseMove(Button,Shift,X,Y) CLASS MainDialog
// MouseMove event - Occurs when the user moves the mouse.
OutputDebugString(String2Psz( oDCOCX_Exontrol1:[WordFromPoint,-1,-1,nil] ))
RETURN NIL
|
175
|
I've noticed that while I type, the control's sensitive context selects the item that contains the typing word, so the question is how can I disable it
local var_Context as IEditContext
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("exText",nil,nil,nil)
var_Context:Add("exHTML",nil,nil,nil)
var_Context:[Options,exContextDisableIncrementalSearchContains] := true
oDCOCX_Exontrol1:Text := ""
oDCOCX_Exontrol1:InsertText("Press CTRL+SPACE, and type h, so the exHTML is not selected.",nil)
|
174
|
I have a context that inserts some comments, it is possible to set the cursor before comment begins, when user selects a value from the control's sensitive context
local var_Context as IEditContext
oDCOCX_Exontrol1:AddExpression("<fgcolor=008000>'</fgcolor>","<fgcolor=008000> </fgcolor>","",nil,nil)
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("exText (0)","0 ' specifies the exText flag",nil,nil)
var_Context:Add("exHTML (-1)","-1 ' specifies the exHTML flag",nil,nil)
var_Context:[Options,exContextInsertCaretPos] := "(0:=value lfind `'`) < 0 ? -1 : ( =:0 - (len(1:=(value left =:0)) - len(ltrim(reverse(=:1)))))"
oDCOCX_Exontrol1:Text := ""
oDCOCX_Exontrol1:InsertText("Press CTRL + SPACE, and select any item, a number is inserted",nil)
|
173
|
How can I show a different sensitive context when user press a key/character

METHOD OCX_Exontrol1Change() CLASS MainDialog
// Change event - Indicates that the control's text have changed.
oDCOCX_Exontrol1:ShowContext(oDCOCX_Exontrol1:ChangeOnKey)
oDCOCX_Exontrol1:ActiveContextItems := ""
RETURN NIL
local var_Context,var_Context1,var_Context2 as IEditContext
oDCOCX_Exontrol1:Text := ""
oDCOCX_Exontrol1:InsertText("Press .(dot), :(color) or =(equal), to get different sensitive context",nil)
oDCOCX_Exontrol1:ActiveContextItems := ""
var_Context := oDCOCX_Exontrol1:[Context,"61"]
var_Context:Add("Equal_1",nil,nil,nil)
var_Context:Add("Equal_2",nil,nil,nil)
var_Context1 := oDCOCX_Exontrol1:[Context,"46"]
var_Context1:Add("Dot_1",nil,nil,nil)
var_Context1:Add("Dot_2",nil,nil,nil)
var_Context2 := oDCOCX_Exontrol1:[Context,"58"]
var_Context2:Add("Colon_1",nil,nil,nil)
var_Context2:Add("Colon_2",nil,nil,nil)
|
172
|
How can I allow spaces when control's sentitive context is shown/opened

METHOD OCX_Exontrol1Change() CLASS MainDialog
// Change event - Indicates that the control's text have changed.
oDCOCX_Exontrol1:ShowContext(oDCOCX_Exontrol1:ChangeOnKey)
oDCOCX_Exontrol1:ActiveContextItems := ""
RETURN NIL
local var_Context as IEditContext
var_Context := oDCOCX_Exontrol1:[Context,"61"]
var_Context:Add("True (-1)","True",nil,nil)
var_Context:Add("False (-1)","False",nil,nil)
var_Context:[Options,exContextAllowSpaceOnFront] := true
oDCOCX_Exontrol1:Text := ""
oDCOCX_Exontrol1:InsertText("Press the = key and after that press the space keys",nil)
oDCOCX_Exontrol1:InsertText("",nil)
|
171
|
How can I display more pages on the control's senitive context

local var_Context,var_Context1 as IEditContext
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("First_1",nil,nil,nil)
var_Context:Add("First_2",nil,nil,nil)
var_Context1 := oDCOCX_Exontrol1:[Context,"Second"]
var_Context1:Add("Second_1",nil,nil,nil)
var_Context1:Add("Second_2",nil,nil,nil)
var_Context1:Add("Second_3",nil,nil,nil)
oDCOCX_Exontrol1:ActiveContextItems := "Second"
oDCOCX_Exontrol1:PagesContextItems := ":Page<font ;6><off -4>1</off></font>,Second:Page<font ;6><off -4>2</off></font>"
|
170
|
Is it possible to disable showing tooltip for items in the control's senitive context
local var_Context as IEditContext
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("Column",nil,nil,nil)
var_Context:[Options,exContextItemToolTip] := "This is bit of text that shown when user selects the <b>Column</b> item."
var_Context:Add("Item",nil,nil,nil)
var_Context:[Options,exContextItemToolTip] := "This is bit of text that shown when user selects the <b>Item</b> item."
var_Context:[Options,exContextAllowToolTip] := false
|
169
|
How can I assign tooltips for items in the control's senitive context

local var_Context as IEditContext
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("Column",nil,nil,nil)
var_Context:[Options,exContextItemToolTip] := "This is bit of text that shown when user selects the <b>Column</b> item."
var_Context:Add("Item",nil,nil,nil)
var_Context:[Options,exContextItemToolTip] := "This is bit of text that shown when user selects the <b>Item</b> item."
|
168
|
By default, the control shows the Context(""). How can I display other items

METHOD OCX_Exontrol1OnContext(Start,Context) CLASS MainDialog
// OnContext event - Occurs when the user invokes the control's context window.
OutputDebugString(String2Psz( "CurrentContext:" ))
OutputDebugString(String2Psz( AsString(Context) ))
oDCOCX_Exontrol1:ActiveContextItems := "Second"
RETURN NIL
local var_Context,var_Context1 as IEditContext
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("First_1",nil,nil,nil)
var_Context:Add("First_2",nil,nil,nil)
var_Context1 := oDCOCX_Exontrol1:[Context,"Second"]
var_Context1:Add("Second_1",nil,nil,nil)
var_Context1:Add("Second_2",nil,nil,nil)
var_Context1:Add("Second_3",nil,nil,nil)
|
167
|
How can I show the control's sensitive context

METHOD OCX_Exontrol1DblClick(Shift,X,Y) CLASS MainDialog
// DblClick event - Occurs when the user double clicks the left mouse button over an object.
oDCOCX_Exontrol1:ShowContext("DB")
RETURN NIL
local var_Context as IEditContext
var_Context := oDCOCX_Exontrol1:[Context,"DB"]
var_Context:Add("BEGIN_MSG_MAP",nil,nil,nil)
var_Context:Add("<fgcolor=808080>MESSAGE_HANDLER",nil,nil,nil)
var_Context:Add("<fgcolor=808080>COMMAND_HANDLER",nil,nil,nil)
var_Context:Add("END_MSG_MAP",nil,nil,nil)
|
166
|
How can I provide different sensitive context

METHOD OCX_Exontrol1Change() CLASS MainDialog
// Change event - Indicates that the control's text have changed.
oDCOCX_Exontrol1:ShowContext(oDCOCX_Exontrol1:ChangeOnKey)
RETURN NIL
local var_Context,var_Context1,var_Context2 as IEditContext
oDCOCX_Exontrol1:Text := ""
oDCOCX_Exontrol1:InsertText("Press .(dot), :(colon) or CTRL + SPACE to invoke the control's context",nil)
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("General_1",nil,nil,nil)
var_Context:Add("General_2",nil,nil,nil)
var_Context1 := oDCOCX_Exontrol1:[Context,"46"]
var_Context1:Add("Property_1",nil,nil,nil)
var_Context1:Add("Property_2",nil,nil,nil)
var_Context1:Add("Property_3",nil,nil,nil)
var_Context2 := oDCOCX_Exontrol1:[Context,"58"]
var_Context2:Add("Method_1",nil,nil,nil)
var_Context2:Add("Method_2",nil,nil,nil)
var_Context2:Add("Method_3",nil,nil,nil)
|
165
|
How can I change the control's background/foreground colors while the control is locked/read-only

oDCOCX_Exontrol1:Locked := true
oDCOCX_Exontrol1:SelBackColor := RGB(128,128,128)
oDCOCX_Exontrol1:ForeColorLockedLine := RGB(128,128,128)
oDCOCX_Exontrol1:BackColorLockedLine := RGB(255,255,255)
|
164
|
How can change the color for selected text, when the control has no focus

oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:SelLength := 10
oDCOCX_Exontrol1:SelBackColorHide := RGB(255,0,0)
|
163
|
How do I change the "Incremental Search" caption

oDCOCX_Exontrol1:[Cursor,exIncrementalSearchArea] := "exHelp"
oDCOCX_Exontrol1:[Caption,exIncrementalSearchField,exCaption] := "Search for: %s"
oDCOCX_Exontrol1:IncrementalSearchError := RGB(255,0,0)
|
162
|
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

oDCOCX_Exontrol1:ScrollBars := exBoth
oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exExtentThumbPart] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exExtentThumbPart] := true
oDCOCX_Exontrol1:[ScrollPartVisible,0x2 | ,exExtentThumbPart] := true
oDCOCX_Exontrol1:ScrollWidth := 4
oDCOCX_Exontrol1:[Background,exVSBack] := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exVSThumb] := RGB(128,128,128)
oDCOCX_Exontrol1:ScrollHeight := 4
oDCOCX_Exontrol1:[Background,exHSBack] := oDCOCX_Exontrol1:[Background,exVSBack]
oDCOCX_Exontrol1:[Background,exHSThumb] := oDCOCX_Exontrol1:[Background,exVSThumb]
oDCOCX_Exontrol1:[Background,exSizeGrip] := oDCOCX_Exontrol1:[Background,exVSBack]
|
161
|
How can I get ride of control's horizontal scroll bar

oDCOCX_Exontrol1:AddKeyword("<b>CExHelperDialog</b>",nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:ScrollBars := exVertical
|
160
|
How do I specify the characters to close the sensitive context

local var_Context as IEditContext
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:AddKeyword("<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
var_Context := oDCOCX_Exontrol1:[Context,nil]
var_Context:Add("<b>class</b>","",1,nil)
var_Context:Add("<b>public</b>","",2,nil)
var_Context:[Options,exContextAllowChars] := "_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
159
|
How do I sort items in the sensitive context

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:AddKeyword("<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:[Context,nil]:Add("<b>public</b>","",2,nil)
oDCOCX_Exontrol1:[Context,nil]:Add("<b>class</b>","",1,nil)
oDCOCX_Exontrol1:[Context,nil]:Sort(true)
|
158
|
Can I add icons to the sensitive context

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:[Context,nil]:Add("<b>class</b>","",1,nil)
|
157
|
How can I change the keys combination that invokes the sensitive context

oDCOCX_Exontrol1:ContextKey := 544
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:[Context,nil]:Add("class",nil,nil,nil)
|
156
|
How do I enable or disable the sensitive context menu
oDCOCX_Exontrol1:CodeCompletion := exCodeCompletionDisable
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:[Context,nil]:Add("class",nil,nil,nil)
|
155
|
How can I add a sensitive context menu

oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:[Context,nil]:Add("class",nil,nil,nil)
|
154
|
Can I use wild characters to define keys in your control

oDCOCX_Exontrol1:AddWild("<fgcolor=808080>(*)</fgcolor>")
oDCOCX_Exontrol1:Refresh()
|
153
|
Can I use wild characters to define keys in your control

oDCOCX_Exontrol1:AddWild("_HANDLER<fgcolor=FF0000>(*)</fgcolor>")
oDCOCX_Exontrol1:Refresh()
|
152
|
How can I remove or delete all expressions

oDCOCX_Exontrol1:AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,nil)
oDCOCX_Exontrol1:ClearExpressions()
oDCOCX_Exontrol1:Refresh()
|
151
|
How can I remove or delete an expression

oDCOCX_Exontrol1:AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,nil)
oDCOCX_Exontrol1:DeleteExpression("(")
oDCOCX_Exontrol1:Refresh()
|
150
|
How can I add an expression

oDCOCX_Exontrol1:AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",false,nil)
oDCOCX_Exontrol1:Refresh()
|
149
|
How can I add an expression on multiple lines

oDCOCX_Exontrol1:AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,nil)
oDCOCX_Exontrol1:Refresh()
|
148
|
How can I remove or delete all keywords
oDCOCX_Exontrol1:AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",nil,nil,nil)
oDCOCX_Exontrol1:ClearKeywords()
oDCOCX_Exontrol1:Refresh()
|
147
|
How can I remove or delete keyword
oDCOCX_Exontrol1:AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>",nil,nil,nil)
oDCOCX_Exontrol1:DeleteKeyword("class")
oDCOCX_Exontrol1:Refresh()
|
146
|
How do I add a keyword that's not case sensitive

oDCOCX_Exontrol1:AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>","","",2)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:InsertText("ClasS\r\n",1)
oDCOCX_Exontrol1:InsertText("CLASS\r\n",1)
|
145
|
How do I add a keyword that's not case sensitive

oDCOCX_Exontrol1:AddKeyword("<fgcolor=FF0000>class</fgcolor>","","",1)
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:InsertText("ClasS\r\n",1)
oDCOCX_Exontrol1:InsertText("CLASS\r\n",1)
|
144
|
How can I assign a tooltip to a keyword

oDCOCX_Exontrol1:AddKeyword("<fgcolor=FF0000>class</fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
|
143
|
How do I add a keyword

oDCOCX_Exontrol1:AddKeyword("<fgcolor=FF0000>class</fgcolor>",nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
142
|
How do I add a keyword

oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
|
141
|
How can I display a tooltip as soon as the user types a keyword

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipOnTyping := true
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()
|
140
|
How do I change the color for a locked or a read only line

oDCOCX_Exontrol1:ForeColorLockedLine := RGB(0,0,0)
oDCOCX_Exontrol1:BackColorLockedLine := RGB(255,0,0)
oDCOCX_Exontrol1:[LockedLine,1] := true
|
139
|
How do I lock or make read only a line

oDCOCX_Exontrol1:[LockedLine,1] := true
|
138
|
How do I start overtyping

oDCOCX_Exontrol1:Overtype := true
|
137
|
How do I get the selection

oDCOCX_Exontrol1:GetSelection(sy,sx,ey,ex)
OutputDebugString(String2Psz( AsString(sy) ))
OutputDebugString(String2Psz( AsString(sx) ))
OutputDebugString(String2Psz( AsString(ey) ))
OutputDebugString(String2Psz( AsString(ex) ))
|
136
|
How do I select multiple lines

oDCOCX_Exontrol1:SetSelection(0,0,10,0)
oDCOCX_Exontrol1:HideSelection := false
|
135
|
How can I change the shape of the cursor when it hovers the selected text

oDCOCX_Exontrol1:[Cursor,exSelectedText] := "exHelp"
oDCOCX_Exontrol1:SelLength := 10
oDCOCX_Exontrol1:HideSelection := false
|
134
|
How can I change the shape of the cursor when it hovers the incremental search area

oDCOCX_Exontrol1:[Cursor,exIncrementalSearchArea] := "exHelp"
|
133
|
How can I change the shape of the cursor when it hovers the line numbers area

oDCOCX_Exontrol1:[Cursor,exLineNumberArea] := "exHelp"
oDCOCX_Exontrol1:LineNumberWidth := 16
|
132
|
How can I change the shape of the cursor when it hovers the bookmark area

oDCOCX_Exontrol1:[Cursor,exBookmarkArea] := "exHelp"
oDCOCX_Exontrol1:BookmarkWidth := 16
|
131
|
How can I change the shape of the cursor when it hovers the edit
oDCOCX_Exontrol1:[Cursor,exEditArea] := "exHelp"
|
130
|
How can I enable or disable OLE drag and drop operations
oDCOCX_Exontrol1:OLEDropMode := exOLEDropAutomatic
|
129
|
How can I change the descriptions for items in the control's context menu

oDCOCX_Exontrol1:[Caption,exContextMenu,exContextUndo] := "U N D O"
oDCOCX_Exontrol1:[Caption,exContextMenu,exContextRedo] := "R E D O"
oDCOCX_Exontrol1:[Caption,exContextMenu,exContextCut] := "C U T"
oDCOCX_Exontrol1:[Caption,exContextMenu,exContextCopy] := "C O P Y"
oDCOCX_Exontrol1:[Caption,exContextMenu,exContextPaste] := "P A S T E"
oDCOCX_Exontrol1:[Caption,exContextMenu,exContextDelete] := "D E L"
oDCOCX_Exontrol1:[Caption,exContextMenu,exContextSelectAll] := "A L L "
|
128
|
How can I change the descriptions for fields in the Replace dialog

oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldFindWhat] := "What"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldReplaceWith] := "Replace"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldWordOnly] := "Word"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldMatchCase] := "Case"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldFindNext] := "Dir"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldSelection] := "Sel"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldWholeFile] := "File"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldReplace] := "Rep"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldReplaceAll] := "All"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exFieldCancel] := "Abandon"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exErrorTitle] := "Title"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exErrorFindNext] := "Failed!"
oDCOCX_Exontrol1:[Caption,exReplaceDialog,exErrorFindNext] := "Done"
|
127
|
How can I change the descriptions for fields in the Find dialog

oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldFindWhat] := "What"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldWordOnly] := "Word"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldMatchCase] := "Case"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldFindNext] := "Dir"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldSelection] := "U"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldWholeFile] := "D"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldFindNext] := "Next"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldReplace] := "All"
oDCOCX_Exontrol1:[Caption,exFindDialog,exFieldCancel] := "Abandon"
oDCOCX_Exontrol1:[Caption,exFindDialog,exErrorFindNext] := "Failed!"
|
126
|
How can I change the caption for the Replace dialog

oDCOCX_Exontrol1:[Caption,exReplaceDialog,exCaption] := "Search and Replace"
|
125
|
How can I change the caption for the Find dialog

oDCOCX_Exontrol1:[Caption,exFindDialog,exCaption] := "Search"
|
124
|
How can I move the cursor when user invokes the control's context menu

oDCOCX_Exontrol1:RClick := true
|
123
|
How can I disable indenting the selected text when the user presses the TAB key
oDCOCX_Exontrol1:IndentOnTab := false
|
122
|
How can I indent a line

oDCOCX_Exontrol1:LineNumberWidth := 18
oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:SelectLine(3)
oDCOCX_Exontrol1:IndentSel(true)
|
121
|
How can I show or hide the control's splitter

oDCOCX_Exontrol1:AllowSplitter := exBothSplitter
oDCOCX_Exontrol1:SplitPaneHeight := 128
oDCOCX_Exontrol1:SplitPaneWidth := 128
|
120
|
How can I select a line

oDCOCX_Exontrol1:LineNumberWidth := 18
oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:SelectLine(3)
|
119
|
How do I change the font to display the line numbers

oDCOCX_Exontrol1:LineNumberFont:Name := "Tahoma"
oDCOCX_Exontrol1:LineNumberWidth := 18
|
118
|
How can I change the height of the line

oDCOCX_Exontrol1:Font:Size := 32
oDCOCX_Exontrol1:DrawGridLines := true
oDCOCX_Exontrol1:Refresh()
|
117
|
How can I show or hide the grid lines

oDCOCX_Exontrol1:DrawGridLines := true
|
116
|
How do I highlight the position of multiple lines expression on the vertical scroll bar

oDCOCX_Exontrol1:AllowMark := true
oDCOCX_Exontrol1:MarkContinueBlocks := true
oDCOCX_Exontrol1:AddKeyword("<b>CAxWnd",nil,nil,nil)
oDCOCX_Exontrol1:AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",true,nil)
oDCOCX_Exontrol1:[MarkColor,"BEGIN_MSG_MAP"] := RGB(255,0,0)
oDCOCX_Exontrol1:[MarkColor,"END_MSG_MAP"] := RGB(128,0,0)
oDCOCX_Exontrol1:[MarkColor,"CAxWnd"] := RGB(0,0,0)
oDCOCX_Exontrol1:Refresh()
|
115
|
How do I ignore \" in a string

oDCOCX_Exontrol1:InsertText("" + CHR(34) + "just a string \" + CHR(34) + "expression" + CHR(34) + "\r\n",1)
oDCOCX_Exontrol1:AddExpression("<fgcolor=800000><b>" + CHR(34) + "</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>" + CHR(34) + "</b></fgcolor>",true,nil)
oDCOCX_Exontrol1:[IgnorePrefixInExpression,"" + CHR(34) + ""] := "\"
oDCOCX_Exontrol1:Refresh()
|
114
|
How can I change the color for the line number's border

oDCOCX_Exontrol1:LineNumberBorderColor := RGB(255,0,0)
oDCOCX_Exontrol1:LineNumberWidth := 18
|
113
|
How can I change the color for the bookmark's border

oDCOCX_Exontrol1:BookmarkBorderColor := RGB(255,0,0)
oDCOCX_Exontrol1:BookmarkWidth := 18
|
112
|
Can I display a custom icon or picture for bookmarks

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:BookmarkImage := 1
oDCOCX_Exontrol1:[Bookmark,2] := true
oDCOCX_Exontrol1:[Bookmark,4] := true
oDCOCX_Exontrol1:BookmarkWidth := 18
|
111
|
Can I display a custom icon or picture in the bookmark area

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[BookmarkImageLine,2] := 1
oDCOCX_Exontrol1:[Bookmark,4] := true
oDCOCX_Exontrol1:BookmarkWidth := 18
|
110
|
How do I remove the line's background color
oDCOCX_Exontrol1:[BackColorLine,1] := RGB(255,0,0)
oDCOCX_Exontrol1:ClearBackColorLine(1)
|
109
|
How do I change the foreground color for a line

oDCOCX_Exontrol1:[ForeColorLine,1] := RGB(255,0,0)
|
108
|
How do I change the background color for a line

oDCOCX_Exontrol1:[BackColorLine,1] := RGB(255,0,0)
|
107
|
How can I add my own items in the control's context menu

oDCOCX_Exontrol1:ContextMenuItems := "New Item"
|
106
|
How do I ensure that a specified line is visible

oDCOCX_Exontrol1:EnsureVisibleLine(oDCOCX_Exontrol1:Count)
|
105
|
How can I programmatically perform a REDO operation
|
104
|
How can I programmatically perform an UNDO operation
|
103
|
How do I get the bookmarks as a list

local var_BookmarksList as USUAL
oDCOCX_Exontrol1:[Bookmark,2] := true
oDCOCX_Exontrol1:[Bookmark,4] := true
oDCOCX_Exontrol1:BookmarkWidth := 16
var_BookmarksList := oDCOCX_Exontrol1:BookmarksList
|
102
|
How can I move to the previous bookmark

oDCOCX_Exontrol1:[Bookmark,2] := true
oDCOCX_Exontrol1:[Bookmark,4] := true
oDCOCX_Exontrol1:BookmarkWidth := 16
oDCOCX_Exontrol1:PrevBookmark()
|
101
|
How can I move to the next bookmark

oDCOCX_Exontrol1:[Bookmark,2] := true
oDCOCX_Exontrol1:[Bookmark,4] := true
oDCOCX_Exontrol1:BookmarkWidth := 16
oDCOCX_Exontrol1:NextBookmark()
|