Re: line break in title [message #40384] |
Sat, 07 August 2004 06:41 |
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  |
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  |
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/
|
|
|