|
-
Nov 21st, 2003, 06:39 AM
#1
Thread Starter
Addicted Member
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.
-
Nov 21st, 2003, 06:40 AM
#2
New Member
At the text box change event
If Len(Text1.Text) = 15 then
'Do What u want
-
Nov 21st, 2003, 06:55 AM
#3
Member
hi dinesh 
i wouldnt advise = 15... i would advise >= 15 because if user pastes 16 characters in....
-
Nov 21st, 2003, 07:07 AM
#4
Thread Starter
Addicted Member
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
-
Nov 21st, 2003, 07:47 AM
#5
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|