Results 1 to 5 of 5

Thread: Still need help lads!

  1. #1

    Thread Starter
    Addicted Member Bazzlad's Avatar
    Join Date
    Jun 2003
    Posts
    227

    Still need help lads!

    Im a vba programmer so Im finding VB script a little weird, could you help me please?

    I have a text box, and I want to print a page when the text box reaches 15 charcaters.

    I have the print code, so I just need to know how to automate this when the text box is full.

    Is it possible?


    Cheers, Bazz
    Last edited by Bazzlad; Nov 21st, 2003 at 07:24 AM.
    *And you'll see, Everything you stand for is fake*
    http://www.rhesusrock.com

  2. #2
    New Member
    Join Date
    Sep 2002
    Location
    Colombo,Sri Lanka
    Posts
    11
    At the text box change event
    If Len(Text1.Text) = 15 then
    'Do What u want

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    40
    hi dinesh

    i wouldnt advise = 15... i would advise >= 15 because if user pastes 16 characters in....

  4. #4

    Thread Starter
    Addicted Member Bazzlad's Avatar
    Join Date
    Jun 2003
    Posts
    227
    Ok what is the Change property?

    I've tried,
    _change()
    _onchange()
    and they don't work....the only one that works is
    _onclick()
    and that's useless...

    The code works fine now, please help me with this bit
    *And you'll see, Everything you stand for is fake*
    http://www.rhesusrock.com

  5. #5
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    You would put the code in Change, that fires every time anything is copied, pasted, typed, deleted, whatever in the textbox.

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