

|
|
Visual Basic Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
Public Class Form1 Dim b As Boolean Dim t As String Private Sub YashBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txt.TextChanged, txt.KeyPress If b Then b = False Else tt.Hide(txt) t = "" For Each s In lst.Items Try If s.Substring(0, txt.Text.Length) = txt.Text Then If (t.Length > 0) Then t += "\n" End If t += s End If Catch ex As Exception End Try Next tt.Show(t, txt) End If End Sub Private Sub YashBox_TextChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txt.KeyPress tt.Hide(txt) If e.KeyChar = "\r" Then b = True For Each s In lst.Items Try If s.Substring(0, txt.Text.Length) = txt.Text Then txt.Text = s End If Catch ex As Exception End Try Next End If End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub End Class |
) wie speichere oder lade ich den Text aus deinen Editor??
PS:Er ist echt gut geworden!!
FileSpy 1.2 - Herausfinden, wo Programme ihre Daten speichern! Zum Download Benutzerinformationen überspringen
Dabei seit: 1. August 2010
Wohnort: Zuhause
Frühere Benutzernamen: JensMn