comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: line break in title
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: line break in title [message #40384] Sat, 07 August 2004 06:41
Ralf Schaa is currently offline  Ralf Schaa
Messages: 37
Registered: June 2001
Member
David Fanning wrote:

> Ralf Schaa writes:
>
>
>> how can I put a line break in my text-object, i've tried '\n' which
>> doesn't work ...
>
>
> Try !C, but you have to enable text formatting:
>
> text =obj_new('idlgrtext', $
> 'This is some text!Con two lines', $
> /Enable_Formatting)
> XObjView, text
>
> Cheers,
>
> David
>

Oh , I see. I'll try that.

Thanks, David
Re: line break in title [message #40385 is a reply to message #40384] Sat, 07 August 2004 06:06 Go to previous message
Ralf Schaa is currently offline  Ralf Schaa
Messages: 37
Registered: June 2001
Member
Ralf Schaa wrote:

> Hello there,
>
> how can I put a line break in my text-object, i've tried '\n' which
> doesn't work ...
>
> Cheers,
> Ralf

an update :

neither does this work:

title = string(event) + string(13B) + string(10B) + string(text)

...
Re: line break in title [message #40386 is a reply to message #40385] Sat, 07 August 2004 05:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ralf Schaa writes:

> how can I put a line break in my text-object, i've tried '\n' which
> doesn't work ...

Try !C, but you have to enable text formatting:

text =obj_new('idlgrtext', $
'This is some text!Con two lines', $
/Enable_Formatting)
XObjView, text

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: line break in title
Next Topic: How do I morph an image.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 16 08:10:10 PDT 2025

Total time taken to generate the page: 0.88068 seconds