Widget_Message on the Mac [message #14924] |
Tue, 30 March 1999 00:00 |
Phillip & Suzanne
Messages: 31 Registered: June 1998
|
Member |
|
|
Hi all;
I was trying to use Widget_Message (which I regularly use on a Solaris
machine) to display some information for a program running IDL 5.2 for
Macintosh. However, when I passed an array of strings, they didn't print one
per line like they do on other platforms. Instead, they were concatenated
together. Has anyone else seen this behavior?
Example:
Type the following at the IDL prompt:
ok = Widget_Message(['line one', 'line two'], /Information)
On Solaris and Windows, I get a dialog like this:
+------------------+
| Information |
+------------------+
| line one |
| line two |
| +------+ |
| | Ok | |
| +------+ |
+------------------+
On the Mac, it looks more like this:
+------------------+
| Information |
+------------------+
| line one� line |
| two |
| +------+ |
| | Ok | |
| +------+ |
+------------------+
Why? Any ideas how to fix it?
Phillip
|
|
|