Results 1 to 2 of 2

Thread: keypress Question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Location
    Calgary,Alberta, Canada
    Posts
    70

    Post

    i not sure how to do this when a user enter
    info into a textbox I would like the first
    letter to default to uppercase always

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Post

    This will default the 1st letter to uppercase
    Code:
        If Len(Text1) = 1 Then
            Text1 = UCase(Text1)
            Text1.SelStart = Len(Text1)
        End If

    ------------------
    Marty

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