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 AxEdit1 .CodeCompletion = 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 AxEdit1 .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 AxEdit1 .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 AxEdit1 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 AxEdit1_Event(ByVal sender As System.Object, ByVal e As AxEXEDITLib._IEditEvents_EventEvent) Handles AxEdit1.Event With AxEdit1 Debug.Print( .get_EventParam(-2) ) End With End Sub With AxEdit1 .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 AxEdit1_QueryContext(ByVal sender As System.Object, ByVal e As AxEXEDITLib._IEditEvents_QueryContextEvent) Handles AxEdit1.QueryContext With AxEdit1 e.qContext = e.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 AxEdit1_QueryContextToolTip(ByVal sender As System.Object, ByVal e As AxEXEDITLib._IEditEvents_QueryContextToolTipEvent) Handles AxEdit1.QueryContextToolTip With AxEdit1 e.qToolTip = e.qContext e.qToolTipTitle = "Keyword Found At Line:" End With End Sub With AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(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
With AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(240,240,240) .CaretLine = 6 .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,15790320) .TempInlineToolTip = "<font ;6>Left Alignment<br><c>Center Alignment<br><r>Right Alignment" .Refresh() End With |
188 |
Is it possible to display the inline tooltip with a different appearance than temporarily inline tooltip
With AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(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 = EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or EXEDITLib.AllowInlineToolTipEnum.exInlineToolTip .set_Background(EXEDITLib.BackgroundPartEnum.exInlineToolTipForeColor,8421504) .set_Background(EXEDITLib.BackgroundPartEnum.exInlineToolTipBackColor,15790320) .CaretLine = 6 .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,10495) .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipForeColor,65536) .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 AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(240,240,240) .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,65535) .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 = EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or 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 AxEdit1_SelChange(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxEdit1.SelChange With AxEdit1 .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 AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(240,240,240) .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,65535) .CaretLine = 12 .AllowInlineToolTip = EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap .Refresh() End With |
185 |
Is it possible to display images in the inline tooltip
|
184 |
How can I change the visual appearance of the temporarily inline tooltip
With AxEdit1 .VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") .LineNumberWidth = -1 .LineNumberBackColor = RGB(240,240,240) .CaretLine = 4 .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,16777216) .AllowInlineToolTip = 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 AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(240,240,240) .CaretLine = 4 .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,15790320) .AllowInlineToolTip = 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
With AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(240,240,240) .CaretLine = 4 .set_Background(EXEDITLib.BackgroundPartEnum.exTempInlineToolTipBackColor,15790320) .TempInlineToolTip = "<br><c>This is a bit of text that's shown programatically under the current line<br>" End With |
181 |
How can I show the inline tooltip with a different appearance
With AxEdit1 .VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") .LineNumberWidth = -1 .LineNumberBackColor = RGB(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 = EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or EXEDITLib.AllowInlineToolTipEnum.exInlineToolTip .set_Background(EXEDITLib.BackgroundPartEnum.exInlineToolTipBackColor,16777216) .set_Background(EXEDITLib.BackgroundPartEnum.exInlineToolTipForeColor,128) .Refresh() End With |
180 |
Is it possible to prevent moving the lines after the inline tooltip
With AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(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 = EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipOver Or EXEDITLib.AllowInlineToolTipEnum.exInlineToolTip .set_Background(EXEDITLib.BackgroundPartEnum.exInlineToolTipBackColor,65535) .Refresh() End With |
179 |
How can I display the inline tooltip, when typing only
With AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(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 = EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipOnChange .set_Background(EXEDITLib.BackgroundPartEnum.exInlineToolTipBackColor,15790320) .Refresh() End With |
178 |
How do I enable the inline tooltip support
With AxEdit1 .LineNumberWidth = -1 .LineNumberBackColor = RGB(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 = EXEDITLib.AllowInlineToolTipEnum.exInlineToolTipWordWrap Or EXEDITLib.AllowInlineToolTipEnum.exInlineToolTip .set_Background(EXEDITLib.BackgroundPartEnum.exInlineToolTipForeColor,8421504) .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 AxEdit1_MouseMoveEvent(ByVal sender As System.Object, ByVal e As AxEXEDITLib._IEditEvents_MouseMoveEvent) Handles AxEdit1.MouseMoveEvent With AxEdit1 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 AxEdit1 With .get_Context() .Add("exText") .Add("exHTML") .Options(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 AxEdit1_Change(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxEdit1.Change With AxEdit1 .ShowContext(.ChangeOnKey) .ActiveContextItems = "" End With End Sub With AxEdit1 .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 AxEdit1_Change(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxEdit1.Change With AxEdit1 .ShowContext(.ChangeOnKey) .ActiveContextItems = "" End With End Sub With AxEdit1 With .get_Context("61") .Add("True (-1)","True") .Add("False (-1)","False") .Options(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 AxEdit1 With .get_Context() .Add("Column") .Options(EXEDITLib.ContextOptionEnum.exContextItemToolTip) = "This is bit of text that shown when user selects the <b>Column</b> item." .Add("Item") .Options(EXEDITLib.ContextOptionEnum.exContextItemToolTip) = "This is bit of text that shown when user selects the <b>Item</b> item." .Options(EXEDITLib.ContextOptionEnum.exContextAllowToolTip) = False End With End With |
169 |
How can I assign tooltips for items in the control's senitive context
With AxEdit1 With .get_Context() .Add("Column") .Options(EXEDITLib.ContextOptionEnum.exContextItemToolTip) = "This is bit of text that shown when user selects the <b>Column</b> item." .Add("Item") .Options(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 AxEdit1_OnContext(ByVal sender As System.Object, ByVal e As AxEXEDITLib._IEditEvents_OnContextEvent) Handles AxEdit1.OnContext With AxEdit1 Debug.Print( "CurrentContext:" ) Debug.Print( e.context ) .ActiveContextItems = "Second" End With End Sub With AxEdit1 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 AxEdit1_DblClick(ByVal sender As System.Object, ByVal e As AxEXEDITLib._IEditEvents_DblClickEvent) Handles AxEdit1.DblClick With AxEdit1 .ShowContext("DB") End With End Sub With AxEdit1 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 AxEdit1_Change(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxEdit1.Change With AxEdit1 .ShowContext(.ChangeOnKey) End With End Sub With AxEdit1 .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 AxEdit1 .Locked = True .SelBackColor = RGB(128,128,128) .ForeColorLockedLine = RGB(128,128,128) .BackColorLockedLine = RGB(255,255,255) End With |
164 |
How can change the color for selected text, when the control has no focus
With AxEdit1 .HideSelection = False .SelLength = 10 .SelBackColorHide = RGB(255,0,0) End With |
163 |
How do I change the "Incremental Search" caption
With AxEdit1 .set_Cursor(EXEDITLib.ClientAreaEnum.exIncrementalSearchArea,"exHelp") .set_Caption(EXEDITLib.DialogEnum.exIncrementalSearchField,EXEDITLib.FieldDialogEnum.exCaption,"Search for: %s") .IncrementalSearchError = RGB(255,0,0) End With |
162 |
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area
With AxEdit1 .ScrollBars = EXEDITLib.ScrollBarsEnum.exBoth .set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exVScroll,EXEDITLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(&H2,EXEDITLib.ScrollPartEnum.exExtentThumbPart,True) .ScrollWidth = 4 .set_Background(EXEDITLib.BackgroundPartEnum.exVSBack,15790320) .set_Background(EXEDITLib.BackgroundPartEnum.exVSThumb,8421504) .ScrollHeight = 4 .set_Background(EXEDITLib.BackgroundPartEnum.exHSBack,.get_Background(EXEDITLib.BackgroundPartEnum.exVSBack)) .set_Background(EXEDITLib.BackgroundPartEnum.exHSThumb,.get_Background(EXEDITLib.BackgroundPartEnum.exVSThumb)) .set_Background(EXEDITLib.BackgroundPartEnum.exSizeGrip,.get_Background(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 AxEdit1 .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 AxEdit1 .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 AxEdit1 .AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",False) .ClearExpressions() .Refresh() End With |
151 |
How can I remove or delete an expression
With AxEdit1 .AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",False) .DeleteExpression("(") .Refresh() End With |
150 |
How can I add an expression
With AxEdit1 .AddExpression("(","<b><fgcolor=FF0000> </fgcolor></b>",")",False) .Refresh() End With |
149 |
How can I add an expression on multiple lines
With AxEdit1 .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 AxEdit1 .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 AxEdit1 .ForeColorLockedLine = RGB(0,0,0) .BackColorLockedLine = RGB(255,0,0) .set_LockedLine(1,True) End With |
139 |
How do I lock or make read only a line
With AxEdit1 .set_LockedLine(1,True) End With |
138 |
How do I start overtyping
With AxEdit1 .Overtype = True End With |
137 |
How do I get the selection
Dim ex,ey,sx,sy With AxEdit1 .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 AxEdit1 .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 AxEdit1 .set_Cursor(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 AxEdit1 .set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextUndo,"U N D O") .set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextRedo,"R E D O") .set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextCut,"C U T") .set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextCopy,"C O P Y") .set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextPaste,"P A S T E") .set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextDelete,"D E L") .set_Caption(EXEDITLib.DialogEnum.exContextMenu,EXEDITLib.FieldDialogEnum.exContextSelectAll,"A L L ") End With |
128 |
How can I change the descriptions for fields in the Replace dialog
With AxEdit1 .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldReplaceWith,"Replace") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldSelection,"Sel") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldWholeFile,"File") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldReplace,"Rep") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldReplaceAll,"All") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exErrorTitle,"Title") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exErrorFindNext,"Failed!") .set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exErrorFindNext,"Done") End With |
127 |
How can I change the descriptions for fields in the Find dialog
With AxEdit1 .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldFindWhat,"What") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldWordOnly,"Word") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldMatchCase,"Case") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldFindNext,"Dir") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldSelection,"U") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldWholeFile,"D") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldFindNext,"Next") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldReplace,"All") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exFieldCancel,"Abandon") .set_Caption(EXEDITLib.DialogEnum.exFindDialog,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 AxEdit1 .IndentOnTab = False End With |
122 |
How can I indent a line
With AxEdit1 .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 AxEdit1 .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 AxEdit1 .DrawGridLines = True End With |
116 |
How do I highlight the position of multiple lines expression on the vertical scroll bar
With AxEdit1 .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",255) .set_MarkColor("END_MSG_MAP",128) .set_MarkColor("CAxWnd",0) .Refresh() End With |
115 |
How do I ignore \" in a string
With AxEdit1 .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
With AxEdit1 .LineNumberBorderColor = RGB(255,0,0) .LineNumberWidth = 18 End With |
113 |
How can I change the color for the bookmark's border
With AxEdit1 .BookmarkBorderColor = RGB(255,0,0) .BookmarkWidth = 18 End With |
112 |
Can I display a custom icon or picture for bookmarks
With AxEdit1 .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 AxEdit1 .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 AxEdit1 .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 AxEdit1 .set_Bookmark(2,True) .set_Bookmark(4,True) .BookmarkWidth = 16 .PrevBookmark() End With |
101 |
How can I move to the next bookmark
With AxEdit1 .set_Bookmark(2,True) .set_Bookmark(4,True) .BookmarkWidth = 16 .NextBookmark() End With |