Results 1 to 4 of 4

Thread: a simple one

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    74

    Talking

    i tried looking around first but i guess my problem is too simple:

    how do i make all letters uppercase or lowcase in a textbox?
    i'm going to have a flag to determine this.

  2. #2
    Lively Member
    Join Date
    Jul 1999
    Location
    Phoenix
    Posts
    87
    myStr = ucase(mySTR)

    that will convert it all to upper.. not sure if there is a function to convert from upper to lower

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Talking

    The easiest way:

    in textbox keypress event:

    for UpperCase : KeyAscii = Asc(Ucase(Chr(KeyAscii))

    For LowerCAse : KeyAscii = Asc(Lcase(Chr(KeyAscii))

    Hope this helps.
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    74

    Smile Thanks!

    Thanks i appreciate the help

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