205 |
Is it possible to show just expressions
|
204 |
How can I stop any highlight
|
203 |
How can I highlight the start of the line until a specified character is found
|
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
|
200 |
Is it possible to change the line's height
|
199 |
How to bold everything between two * (asterisk) characters
|
198 |
How to bold everything that starts with * (asterisk), to the end of the line
|
197 |
How to make a * (asterisk) bold, not the entire / rest line
|
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
|
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
|
191 |
How do I highlights words based on wild characters
|
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
|
184 |
How can I change the visual appearance of the temporarily inline tooltip
|
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
|
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
|
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
|
167 |
How can I show the control's sensitive context
|
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
|
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
|
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
|
158 |
Can I add icons to the sensitive context
|
157 |
How can I change the keys combination that invokes the sensitive context
|
156 |
How do I enable or disable the sensitive context menu
|
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
|
153 |
Can I use wild characters to define keys in your control
|
152 |
How can I remove or delete all expressions
|
151 |
How can I remove or delete an expression
|
150 |
How can I add an expression
|
149 |
How can I add an expression on multiple lines
|
148 |
How can I remove or delete all keywords
|
147 |
How can I remove or delete keyword
|
146 |
How do I add a keyword that's not case sensitive
|
145 |
How do I add a keyword that's not case sensitive
|
144 |
How can I assign a tooltip to a keyword
|
143 |
How do I add a keyword
|
142 |
How do I add a keyword
|
141 |
How can I display a tooltip as soon as the user types a keyword
|
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
|
137 |
How do I get the selection
|
136 |
How do I select multiple lines
|
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
|
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
|
122 |
How can I indent a line
|
121 |
How can I show or hide the control's splitter
|
120 |
How can I select a line
|
119 |
How do I change the font to display the line numbers
|
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
|
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
|
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
|
108 |
How do I change the background color for a line
|
107 |
How can I add my own items in the control's context menu
|
106 |
How do I ensure that a specified line is visible
|
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
|
102 |
How can I move to the previous bookmark
|
101 |
How can I move to the next bookmark
|