|
-
Apr 28th, 2003, 10:08 AM
#1
Thread Starter
Junior Member
Linklabel Text
Hi,
I have a link label and its text legnth varies. The problem I am having is when the text is really long it wraps to 2 or more lines. Does anyone know how to keep the text all on one line. I have set the auto size to true but this didnt help.
thanks
-
Apr 28th, 2003, 01:21 PM
#2
Sleep mode
Dock the lablel to the bottom or whatever .
-
Apr 28th, 2003, 01:29 PM
#3
Thread Starter
Junior Member
thanks for the reply.
I am trying to create a news ticker. So I put the linklabel control in a panel. On each tick of my timer controll I move the link label to the left. When the entire linklabel is out of site I reset the link label location. If I dock the Linklabel to the botom of the panel it will not move. Do you have any other Ideas? This is driving me crazy!!!!!!!!!
thanks for your help
-
Apr 28th, 2003, 02:04 PM
#4
Fanatic Member
Seems to me that the simple solution is just to force the text to be short, e.g. if LinkLabel.Text.Length > 30 then substring the end off.
-
Apr 28th, 2003, 03:35 PM
#5
Thread Starter
Junior Member
Hi,
I dont want the to cut part of the string off. I need to have all the links in the link label controll on one line. so I can simulate a ticker tape. If the link label wraps the text I only see the first line of links because the other ones are getting covered.
thanks
-
Apr 28th, 2003, 07:02 PM
#6
Thread Starter
Junior Member
thanks for the replys, I think I figured it out. Ithink my function that is populating the text property is putting returns at the end of the links.
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
|