Jump to content


Photo

New Line in Descriptive Text


  • Please log in to reply
1 reply to this topic

#1 lueck

lueck

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 15 June 2011 - 05:44 AM

First off, I'm old and don't know what I am doing, but I'm still doing it. I am replacing a simple system where you flip a switch on a machine and it posts a message on monitors throughout the building notifying maintenance. I have it sort of working using descriptive text, but can not get the text to display on more than one line. Is there any way to get descriptive text to recognize chr(). I could live with only one line displayed, but two would be nicer. Any help would be appreciated as my brain now hurts.

Thanks - Mike

#2 AzeoTech

AzeoTech

    Guru

  • Administrators
  • PipPipPipPipPip
  • 4577 posts

Posted 15 June 2011 - 08:58 AM

The descriptive text control supports only one line. You have a couple choices:

1) use two descriptive text controls, one for each line.
2) use a static text control and programatically change the contents. This is a little harder, and how you would do it depends a little on your application. I'd try #1 first if you are doing something small and simple.