mrlemmer11
New Member
- Joined
- Jun 8, 2015
- Messages
- 32
Hello,
I am using inkEdit to change the color of all strings in my inkEdit textbox " SAVED " to be green. Only problem is that it will only make the first occurrence green and not any of the others. How do i fix this? thanks!
I am using inkEdit to change the color of all strings in my inkEdit textbox " SAVED " to be green. Only problem is that it will only make the first occurrence green and not any of the others. How do i fix this? thanks!
Code:
Private Sub inkChange()
Dim iStart
iStart = InStr(formLOB3.txtLog.Text, " SAVED ")
If iStart <= 0 Then
Exit Sub
End If
With formLOB3.txtLog
.SelStart = iStart - 2
.SelLength = 7
.SelBold = True
.SelFontSize = 8
.SelColor = RGB(0, 128, 0)
End With
End Sub