Results 1 to 2 of 2

Thread: Validating on tab

  1. #1

    Thread Starter
    Lively Member nutstretch's Avatar
    Join Date
    May 2000
    Location
    UK
    Posts
    85

    Lightbulb

    Hi I have been struggling with this for a few weeks now all suggestions do not seem to work. I am writing a program which validates well on the return key but as many users especially experienced one like to use tab and therefore go though my program with no validation, i want to validate on tab too or disable it. I have tried the keyascii for tab which is 9 but this does not seem to work. I have tried validation on a lost focus but just got into a messagebox hell with everytime you left a box with nothing in it threw up a messagebox good butwhen you tried to set the focus back to the original text box you got another lostfocus empty box messagebox from the one it had just left. I have tried vbtab but thast did noty seem to work and tried chr(9) with no success. Please oh people with brains and exquisit knowledge help me out here

    nuts
    if at first you don't succeed, drink the rest of the bottle and loop to the same place tomorrow

  2. #2
    Lively Member Patrice Bourdages's Avatar
    Join Date
    Jun 2000
    Location
    Quebec, Canada
    Posts
    83

    Wink

    I would try posting this one to the "General" area... I've experienced this problem today to. Will look forward to those "guru's" answers. I also tried the lost_focus and it seems to loop back... Quite confusing!!!

    Sincerely,

    Patrice :-)

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