Results 1 to 3 of 3

Thread: Textfields & cursors

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Italy
    Posts
    90

    Unhappy

    Hi everyone!
    Does anybody know if there is a way to make an active textfield (enabled) not to show the blinking vertical cursor?
    Thanks a lot

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177
    Try:
    Code:
    Private Declare Function HideCaret Lib "user32" (ByVal hwnd As Long) As Long
    
    Private Sub Text1_GotFocus()
        HideCaret Text1.hwnd
    End Sub

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Italy
    Posts
    90
    GREAT! Where did you learn that from? Thanks a lot for your support!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width