155
|
How can I add a sensitive context menu

With AxEdit1
.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
|
154
|
Can I use wild characters to define keys in your control

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

With AxEdit1
.AddWild("_HANDLER<fgcolor=FF0000>(*)</fgcolor>")
.Refresh()
End With
|
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
With AxEdit1
.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>")
.ClearKeywords()
.Refresh()
End With
|
147
|
How can I remove or delete keyword
With AxEdit1
.AddKeyword("<b><fgcolor=FF0000>class</fgcolor></b>")
.DeleteKeyword("class")
.Refresh()
End With
|
146
|
How do I add a keyword that's not case sensitive

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

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

With AxEdit1
.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")
.Refresh()
End With
|
143
|
How do I add a keyword

With AxEdit1
.AddKeyword("<fgcolor=FF0000>class</fgcolor>")
.Refresh()
End With
|
142
|
How do I add a keyword

With AxEdit1
.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
|
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

With AxEdit1
.set_Cursor(EXEDITLib.ClientAreaEnum.exIncrementalSearchArea,"exHelp")
End With
|
133
|
How can I change the shape of the cursor when it hovers the line numbers area

With AxEdit1
.set_Cursor(EXEDITLib.ClientAreaEnum.exLineNumberArea,"exHelp")
.LineNumberWidth = 16
End With
|
132
|
How can I change the shape of the cursor when it hovers the bookmark area

With AxEdit1
.set_Cursor(EXEDITLib.ClientAreaEnum.exBookmarkArea,"exHelp")
.BookmarkWidth = 16
End With
|
131
|
How can I change the shape of the cursor when it hovers the edit
With AxEdit1
.set_Cursor(EXEDITLib.ClientAreaEnum.exEditArea,"exHelp")
End With
|
130
|
How can I enable or disable OLE drag and drop operations
With AxEdit1
.OLEDropMode = EXEDITLib.exOLEDropModeEnum.exOLEDropAutomatic
End With
|
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

With AxEdit1
.set_Caption(EXEDITLib.DialogEnum.exReplaceDialog,EXEDITLib.FieldDialogEnum.exCaption,"Search and Replace")
End With
|
125
|
How can I change the caption for the Find dialog

With AxEdit1
.set_Caption(EXEDITLib.DialogEnum.exFindDialog,EXEDITLib.FieldDialogEnum.exCaption,"Search")
End With
|
124
|
How can I move the cursor when user invokes the control's context menu

With AxEdit1
.RClick = True
End With
|
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

With AxEdit1
.AllowSplitter = EXEDITLib.SplitterEnum.exBothSplitter
.SplitPaneHeight = 128
.SplitPaneWidth = 128
End With
|
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

With AxEdit1
.LineNumberFont.Name = "Tahoma"
.LineNumberWidth = 18
End With
|
118
|
How can I change the height of the line

With AxEdit1
.Font.Size = 32
.DrawGridLines = True
.Refresh()
End With
|
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
With AxEdit1
.set_BackColorLine(1,255)
.ClearBackColorLine(1)
End With
|
109
|
How do I change the foreground color for a line

With AxEdit1
.set_ForeColorLine(1,255)
End With
|
108
|
How do I change the background color for a line

With AxEdit1
.set_BackColorLine(1,255)
End With
|
107
|
How can I add my own items in the control's context menu

With AxEdit1
.ContextMenuItems = "New Item"
End With
|
106
|
How do I ensure that a specified line is visible

With AxEdit1
.EnsureVisibleLine(.Count)
End With
|
105
|
How can I programmatically perform a REDO operation
With AxEdit1
.Redo()
End With
|
104
|
How can I programmatically perform an UNDO operation
With AxEdit1
.Undo()
End With
|
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
|