Imports System.Runtime.InteropServices
Public Class general
<DllImport("user32")> _
Private Shared Function HideCaret(ByVal hWnd As IntPtr) As Integer
End Function
Private Sub TextBox1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.GotFocus
HideCaret(TextBox1.Handle)
End Sub
Private Sub general_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Cursor = Cursors.Arrow
End Sub
End Class
No hay comentarios.:
Publicar un comentario