|
-
Apr 2nd, 2000, 11:18 PM
#1
Thread Starter
New Member
hi my names Bhavik, i'm making a program in VB6 and i was wondering if
there was any way of limiting the number of characters in textboxes, i
would
be greatful for any help you may be able to offer me
thanx for your time
Bhavik
my email add is
[email protected]
[Edited by Baz673 on 04-03-2000 at 12:19 PM]
-
Apr 2nd, 2000, 11:21 PM
#2
New Member
Hi Baz,
It's quite simple.
When you create the text box, one of it's properties is - MaxLength. It will be set to 0. Just change it to the required maximum
HAZ
-
Apr 2nd, 2000, 11:37 PM
#3
Thread Starter
New Member
the thing is that their is a code which i need as this is part of a project, and i have to incorporate it in many other forms
Bhavik
[Edited by Baz673 on 04-03-2000 at 12:39 PM]
-
Apr 3rd, 2000, 06:07 AM
#4
Hyperactive Member
Is this what you want?
Text1.MaxLength = 15
Do this for each of the textboxes you want, replacing Text1 with the name of the textbox and 15 with the value it must be.
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
|