|
-
Nov 9th, 1999, 01:05 AM
#1
Thread Starter
Hyperactive Member
HI,
I’m having trouble with labels. I have made a little program and would like to add a large introduction in the beginning all in one label. The problem is when I click caption a really small box appears which is hard to work with. Is there any other way to input a caption into a label? One method that I tried was to type in the introduction into Notepad and to copy and paste it into the caption. The problem here is that only the first line will be shown.
Please Help
Richard
-
Nov 9th, 1999, 01:11 AM
#2
Add code to your form load event that sets the value for the label caption i.e.
Code:
MyLabel.Caption = "This is a long caption " _
& "that is difficult to enter into the property box!.
Better yet, look up resource files, create one, and store the text for the label there.
------------------
Marty
-
Nov 9th, 1999, 07:38 AM
#3
Addicted Member
I'm not sure! I think labels Max value is 256 chars !!
Double check before going ahead.
Good Luck.
-
Nov 9th, 1999, 09:26 AM
#4
Hyperactive Member
But you can "stick" two or more labels together to get more capacity! Just set them transparent background, no border and go on.
-
Nov 9th, 1999, 12:14 PM
#5
Lively Member
Try using a TextBox with
Multiline = True
BorderStyle = 0
Enabled = False
BackColor = vbButtonFace
This will look the same as a Label but allow Multiple lines of text, you can then add Scrollbars etc... if required
Hope this helps,
Steve.
-
Nov 11th, 1999, 12:17 PM
#6
Junior Member
Make autosize property of label = true.
it will allow u to enter text as much as u want.
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
|