|
-
Mar 15th, 2009, 05:33 PM
#1
Thread Starter
New Member
vb6 question on maxlenght
Can Label also have the same property as Text in terms of MaxLength?I have this in my TextBox-> Text1.MaxLength=11.
But when i type this ->Label1.MaxLength=11,i got this as error " Method or data member not found"..
so basically what i am doing is i am trying to make my program read the size of the file through the label and its working fine but it displays too many chracters like 1.6342243 i want to make it maybe so it just displays 4 chars
size.Caption = "Size of the file: " & Len(sSize) & " Bytes"
So anybody know how to do this ?
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
|