-
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
-
Dock the lablel to the bottom or whatever .
-
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
-
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.
-
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
-
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.