Results 1 to 6 of 6

Thread: Linklabel Text

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Posts
    16

    Question 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

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Dock the lablel to the bottom or whatever .

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Posts
    16
    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

  4. #4
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    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.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Posts
    16
    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

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Posts
    16
    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
  •  



Click Here to Expand Forum to Full Width