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
With Exedit1 .CodeCompletion = exontrol.EXEDITLib.CodeCompletionEnum.exCodeCompletionEnableNoUI .AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit") .Refresh() .get_Context().Add("class") End With |
201 |
How can I hide the control's horizontal scroll bar
|
200 |
Is it possible to change the line's height
With Exedit1 .LineHeight = "value + 8 * dpi" .DrawGridLines = True End With |
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)
With Exedit1 .Template = "Font { Name = `Consolas`; Size = 12 }" .AddKeyword("<fgcolor=FF0000>class</fgcolor>") .Refresh() End With |
195 |
How can I change the control's font (runtime)
With Exedit1 With .Font .Name = "Consolas" .Size = 12 End With .AddKeyword("<fgcolor=FF0000>class</fgcolor>") .Refresh() End With |
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
' Event event - Notifies the application once the control fires an event. Private Sub Exedit1_Event(ByVal sender As System.Object,ByVal EventID As Integer) Handles Exedit1.Event With Exedit1 Debug.Print( .get_EventParam(-2) ) End With End Sub With Exedit1 .AddWild("<fgcolor=808080>(?*)</fgcolor>") .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 qualit" & _ "y") .Refresh() End With |
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
' QueryContext event - Queries for the context at the specified location, to provide different tooltips for the same keyword on QueryContextToolTip event. Private Sub Exedit1_QueryContext(ByVal sender As System.Object,ByVal XCursor As Integer,ByVal YCursor As Integer,ByRef QContext As Object) Handles Exedit1.QueryContext With Exedit1 QContext = YCursor End With End Sub ' QueryContextToolTip event - Asks for the tooltip/title of the keyword on the context retrieved by the QueryContext event. Private Sub Exedit1_QueryContextToolTip(ByVal sender As System.Object,ByVal QContext As String,ByVal Keyword As String,ByRef QToolTip As Object,ByRef QToolTipTitle As Object) Handles Exedit1.QueryContextToolTip With Exedit1 QToolTip = QContext QToolTipTitle = "Keyword Found At Line:" End With End Sub With Exedit1 .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .AddKeyword("<fgcolor=FF0000><b>keyword</b></fgcolor>") .Text = "" .InsertText("here's the keyword on the first line") .InsertText("\r\nhere's the keyword on the second line") .InsertText("\r\nhere's the keyword on the third line") End With |
189 |
Is it possible to left, right or center align the inline tooltip
|
188 |
Is it possible to display the inline tooltip with a different appearance than temporarily inline tooltip
With Exedit1 .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .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 qua" & _ "lity.") .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTip .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exInlineToolTipForeColor,Color.FromArgb(128,128,128)) .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exInlineToolTipBackColor,Color.FromArgb(240,240,240)) .CaretLine = 6 .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,Color.FromArgb(255,40,0)) .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exTempInlineToolTipForeColor,Color.FromArgb(0,0,1)) .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>" .Refresh() End With |
187 |
How can I display the inline tooltip over the lines, instead pushing the lines
With Exedit1 .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,Color.FromArgb(255,255,0)) .CaretLine = 3 .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." .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipOver .Refresh() End With |
186 |
Is it possible to display the inline tooltip all the time
' SelChange event - Occurs when the user selects text in the control. Private Sub Exedit1_SelChange(ByVal sender As System.Object) Handles Exedit1.SelChange With Exedit1 .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." End With End Sub With Exedit1 .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,Color.FromArgb(255,255,0)) .CaretLine = 12 .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap .Refresh() End With |
185 |
Is it possible to display images in the inline tooltip
With Exedit1 .VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") .Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .CaretLine = 4 .set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,&H1000000) .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap .TempInlineToolTip = "<img>1</img>This is a bit of text that's shown programatically under the current line" End With |
184 |
How can I change the visual appearance of the temporarily inline tooltip
With Exedit1 .VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .CaretLine = 4 .set_Background32(exontrol.EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,&H1000000) .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap .TempInlineToolTip = "This is a bit of text that's shown programatically under the current line" End With |
183 |
How can I display programmatically the inline tooltip, but using word-wrapping
With Exedit1 .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .CaretLine = 4 .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,Color.FromArgb(240,240,240)) .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap .TempInlineToolTip = "This is a bit of text that's shown programatically under the current line" End With |
182 |
How can I display programmatically the inline tooltip
|
181 |
How can I show the inline tooltip with a different appearance
|
180 |
Is it possible to prevent moving the lines after the inline tooltip
|
179 |
How can I display the inline tooltip, when typing only
With Exedit1 .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .ToolTipOnTyping = False .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 qualit" & _ "y.") .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipOnChange .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exInlineToolTipBackColor,Color.FromArgb(240,240,240)) .Refresh() End With |
178 |
How do I enable the inline tooltip support
With Exedit1 .LineNumberWidth = -1 .LineNumberBackColor = Color.FromArgb(240,240,240) .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 qualit" & _ "y.") .AllowInlineToolTip = exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or exontrol.EXEDITLib.AllowInlineToolTipEnum.exInlineToolTip .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exInlineToolTipForeColor,Color.FromArgb(128,128,128)) .Refresh() End With |
177 |
How do I display a tooltip for a non-keyword
|
176 |
How do I get the text from the cursor
' MouseMove event - Occurs when the user moves the mouse. Private Sub Exedit1_MouseMoveEvent(ByVal sender As System.Object,ByVal Button As Short,ByVal Shift As Short,ByVal X As Integer,ByVal Y As Integer) Handles Exedit1.MouseMoveEvent With Exedit1 Debug.Print( .get_WordFromPoint(-1,-1) ) End With End Sub |
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
With Exedit1 With .get_Context() .Add("exText") .Add("exHTML") .set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextDisableIncrementalSearchContains,True) End With .Text = "" .InsertText("Press CTRL+SPACE, and type h, so the exHTML is not selected.") End With |
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
|
173 |
How can I show a different sensitive context when user press a key/character
' Change event - Indicates that the control's text have changed. Private Sub Exedit1_Change(ByVal sender As System.Object) Handles Exedit1.Change With Exedit1 .ShowContext(.ChangeOnKey) .ActiveContextItems = "" End With End Sub With Exedit1 .Text = "" .InsertText("Press .(dot), :(color) or =(equal), to get different sensitive context") .ActiveContextItems = "" With .get_Context("61") .Add("Equal_1") .Add("Equal_2") End With With .get_Context("46") .Add("Dot_1") .Add("Dot_2") End With With .get_Context("58") .Add("Colon_1") .Add("Colon_2") End With End With |
172 |
How can I allow spaces when control's sentitive context is shown/opened
' Change event - Indicates that the control's text have changed. Private Sub Exedit1_Change(ByVal sender As System.Object) Handles Exedit1.Change With Exedit1 .ShowContext(.ChangeOnKey) .ActiveContextItems = "" End With End Sub With Exedit1 With .get_Context("61") .Add("True (-1)","True") .Add("False (-1)","False") .set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextAllowSpaceOnFront,True) End With .Text = "" .InsertText("Press the = key and after that press the space keys") .InsertText("") End With |
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
With Exedit1 With .get_Context() .Add("Column") .set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextItemToolTip,"This is bit of text that shown when user selects the <b>Column</b> item.") .Add("Item") .set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextItemToolTip,"This is bit of text that shown when user selects the <b>Item</b> item.") .set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextAllowToolTip,False) End With End With |
169 |
How can I assign tooltips for items in the control's senitive context
With Exedit1 With .get_Context() .Add("Column") .set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextItemToolTip,"This is bit of text that shown when user selects the <b>Column</b> item.") .Add("Item") .set_Options(exontrol.EXEDITLib.ContextOptionEnum.exContextItemToolTip,"This is bit of text that shown when user selects the <b>Item</b> item.") End With End With |
168 |
By default, the control shows the Context(""). How can I display other items
' OnContext event - Occurs when the user invokes the control's context window. Private Sub Exedit1_OnContext(ByVal sender As System.Object,ByVal Start As Integer,ByVal Context As String) Handles Exedit1.OnContext With Exedit1 Debug.Print( "CurrentContext:" ) Debug.Print( Context ) .ActiveContextItems = "Second" End With End Sub With Exedit1 With .get_Context() .Add("First_1") .Add("First_2") End With With .get_Context("Second") .Add("Second_1") .Add("Second_2") .Add("Second_3") End With End With |
167 |
How can I show the control's sensitive context
' DblClick event - Occurs when the user double clicks the left mouse button over an object. Private Sub Exedit1_DblClick(ByVal sender As System.Object,ByVal Shift As Short,ByVal X As Integer,ByVal Y As Integer) Handles Exedit1.DblClick With Exedit1 .ShowContext("DB") End With End Sub With Exedit1 With .get_Context("DB") .Add("BEGIN_MSG_MAP") .Add("<fgcolor=808080>MESSAGE_HANDLER") .Add("<fgcolor=808080>COMMAND_HANDLER") .Add("END_MSG_MAP") End With End With |
166 |
How can I provide different sensitive context
' Change event - Indicates that the control's text have changed. Private Sub Exedit1_Change(ByVal sender As System.Object) Handles Exedit1.Change With Exedit1 .ShowContext(.ChangeOnKey) End With End Sub With Exedit1 .Text = "" .InsertText("Press .(dot), :(colon) or CTRL + SPACE to invoke the control's context") With .get_Context() .Add("General_1") .Add("General_2") End With With .get_Context("46") .Add("Property_1") .Add("Property_2") .Add("Property_3") End With With .get_Context("58") .Add("Method_1") .Add("Method_2") .Add("Method_3") End With End With |
165 |
How can I change the control's background/foreground colors while the control is locked/read-only
With Exedit1 .Locked = True .SelBackColor = Color.FromArgb(128,128,128) .ForeColorLockedLine = Color.FromArgb(128,128,128) .BackColorLockedLine = Color.FromArgb(255,255,255) End With |
164 |
How can change the color for selected text, when the control has no focus
With Exedit1 .HideSelection = False .SelLength = 10 .SelBackColorHide = Color.FromArgb(255,0,0) End With |
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
With Exedit1 .ScrollBars = exontrol.EXEDITLib.ScrollBarsEnum.exBoth .set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exVScroll,exontrol.EXEDITLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(exontrol.EXEDITLib.ScrollBarEnum.exHScroll,exontrol.EXEDITLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(&H2,exontrol.EXEDITLib.ScrollPartEnum.exExtentThumbPart,True) .ScrollWidth = 4 .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240)) .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128)) .ScrollHeight = 4 .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exHSBack,.get_Background(exontrol.EXEDITLib.BackgroundPartEnum.exVSBack)) .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exHSThumb,.get_Background(exontrol.EXEDITLib.BackgroundPartEnum.exVSThumb)) .set_Background(exontrol.EXEDITLib.BackgroundPartEnum.exSizeGrip,.get_Background(exontrol.EXEDITLib.BackgroundPartEnum.exVSBack)) End With |
161 |
How can I get ride of control's horizontal scroll bar
|
160 |
How do I specify the characters to close the sensitive context
|
159 |
How do I sort items in the sensitive context
With Exedit1 .Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") .AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit") .AddKeyword("<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit") .Refresh() .get_Context().Add("<b>public</b>","",2) .get_Context().Add("<b>class</b>","",1) .get_Context().Sort(True) End With |
158 |
Can I add icons to the sensitive context
With Exedit1 .Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") .AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit") .Refresh() .get_Context().Add("<b>class</b>","",1) End With |
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
|
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
With Exedit1 .AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",False) .ClearExpressions() .Refresh() End With |
151 |
How can I remove or delete an expression
With Exedit1 .AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",False) .DeleteExpression("(") .Refresh() End With |
150 |
How can I add an expression
With Exedit1 .AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",False) .Refresh() End With |
149 |
How can I add an expression on multiple lines
With Exedit1 .AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",True) .Refresh() End With |
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
With Exedit1 .ToolTipDelay = 1 .ToolTipOnTyping = True .AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit") .Refresh() End With |
140 |
How do I change the color for a locked or a read only line
With Exedit1 .ForeColorLockedLine = Color.FromArgb(0,0,0) .BackColorLockedLine = Color.FromArgb(255,0,0) .set_LockedLine(1,True) End With |
139 |
How do I lock or make read only a line
With Exedit1 .set_LockedLine(1,True) End With |
138 |
How do I start overtyping
With Exedit1 .Overtype = True End With |
137 |
How do I get the selection
Dim ex,ey,sx,sy With Exedit1 .GetSelection(sy,sx,ey,ex) Debug.Print( sy ) Debug.Print( sx ) Debug.Print( ey ) Debug.Print( ex ) End With |
136 |
How do I select multiple lines
With Exedit1 .SetSelection(0,0,10,0) .HideSelection = False End With |
135 |
How can I change the shape of the cursor when it hovers the selected text
With Exedit1 .set_Cursor(exontrol.EXEDITLib.ClientAreaEnum.exSelectedText,"exHelp") .SelLength = 10 .HideSelection = False End With |
134 |
How can I change the shape of the cursor when it hovers the incremental search area
|
133 |
How can I change the shape of the cursor when it hovers the line numbers area
|
132 |
How can I change the shape of the cursor when it hovers the bookmark area
|
131 |
How can I change the shape of the cursor when it hovers the edit
|
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
With Exedit1 .set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextUndo,"U N D O") .set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextRedo,"R E D O") .set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextCut,"C U T") .set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextCopy,"C O P Y") .set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextPaste,"P A S T E") .set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextDelete,"D E L") .set_Caption(exontrol.EXEDITLib.DialogEnum.exContextMenu,exontrol.EXEDITLib.FieldDialogEnum.exContextSelectAll,"A L L ") End With |
128 |
How can I change the descriptions for fields in the Replace dialog
With Exedit1 .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplaceWith,"Replace") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldSelection,"Sel") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWholeFile,"File") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplace,"Rep") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplaceAll,"All") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorTitle,"Title") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorFindNext,"Failed!") .set_Caption(exontrol.EXEDITLib.DialogEnum.exReplaceDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorFindNext,"Done") End With |
127 |
How can I change the descriptions for fields in the Find dialog
With Exedit1 .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldSelection,"U") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldWholeFile,"D") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldFindNext,"Next") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldReplace,"All") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon") .set_Caption(exontrol.EXEDITLib.DialogEnum.exFindDialog,exontrol.EXEDITLib.FieldDialogEnum.exErrorFindNext,"Failed!") End With |
126 |
How can I change the caption for the Replace dialog
|
125 |
How can I change the caption for the Find dialog
|
124 |
How can I move the cursor when user invokes the control's context menu
|
123 |
How can I disable indenting the selected text when the user presses the TAB key
With Exedit1 .IndentOnTab = False End With |
122 |
How can I indent a line
With Exedit1 .LineNumberWidth = 18 .HideSelection = False .SelectLine(3) .IndentSel(True) End With |
121 |
How can I show or hide the control's splitter
|
120 |
How can I select a line
With Exedit1 .LineNumberWidth = 18 .HideSelection = False .SelectLine(3) End With |
119 |
How do I change the font to display the line numbers
|
118 |
How can I change the height of the line
|
117 |
How can I show or hide the grid lines
With Exedit1 .DrawGridLines = True End With |
116 |
How do I highlight the position of multiple lines expression on the vertical scroll bar
With Exedit1 .AllowMark = True .MarkContinueBlocks = True .AddKeyword("<b>CAxWnd") .AddExpression("<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",True) .set_MarkColor("BEGIN_MSG_MAP",Color.FromArgb(255,0,0)) .set_MarkColor("END_MSG_MAP",Color.FromArgb(128,0,0)) .set_MarkColor("CAxWnd",Color.FromArgb(0,0,0)) .Refresh() End With |
115 |
How do I ignore \" in a string
With Exedit1 .InsertText("""just a string \""expression""\r\n",1) .AddExpression("<fgcolor=800000><b>""</b></fgcolor>","<b><fgcolor=FF0000> </fgcolor></b>","<fgcolor=800000><b>""</b></fgcolor>",True) .set_IgnorePrefixInExpression("""","\") .Refresh() End With |
114 |
How can I change the color for the line number's border
|
113 |
How can I change the color for the bookmark's border
|
112 |
Can I display a custom icon or picture for bookmarks
With Exedit1 .Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") .BookmarkImage = 1 .set_Bookmark(2,True) .set_Bookmark(4,True) .BookmarkWidth = 18 End With |
111 |
Can I display a custom icon or picture in the bookmark area
With Exedit1 .Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") .set_BookmarkImageLine(2,1) .set_Bookmark(4,True) .BookmarkWidth = 18 End With |
110 |
How do I remove the line's background color
|
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
Dim var_BookmarksList With Exedit1 .set_Bookmark(2,True) .set_Bookmark(4,True) .BookmarkWidth = 16 var_BookmarksList = .BookmarksList End With |
102 |
How can I move to the previous bookmark
With Exedit1 .set_Bookmark(2,True) .set_Bookmark(4,True) .BookmarkWidth = 16 .PrevBookmark() End With |
101 |
How can I move to the next bookmark
With Exedit1 .set_Bookmark(2,True) .set_Bookmark(4,True) .BookmarkWidth = 16 .NextBookmark() End With |