That looks like a group...put the multiline string box in a
group, hide the control label, and give the group a
label.
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Byron Nash
Sent:
Wed 14 May 2008 9:40 AM
To: XSI(at)Softimage.COM
Subject: Re:
[Scripting] labels and line returns
Thanks Stephen and Jeremie. The look I want is in the docs under the
Multi-Line string PPG section. The label is sort of embedded in the top of the
edit box. I see the options for hiding the label and such but nothing for moving
the position.
On Wed, May 14, 2008 at 4:30 AM, Jeremie Passerin <
gerem.xsi(at)gmail.com> wrote:
For
the second question. Are you sure they didn't hide the original Label (the one
on the left) and fake it using a AddStaticText() ?
Check SetAttribute
(PPGItem) for advanced Layout in
the SDK.
2008/5/14 Stephen Blair <
Stephen_Blair(at)softimage.com>:
Hi
Bryon
The
answer to the line return question is \r\n.
It is
in the SDK examples :-)
From: owner-xsi(at)Softimage.COM [mailto:
owner-xsi(at)Softimage.COM]
On Behalf Of Byron
Nash
Sent: Tue 13 May 2008 4:57 PM
To:
xsi(at)Softimage.COM
Subject: [Scripting] labels and line
returns
I'm working with a multi-line string in a custom property page.
The string I am feeding into the string object has "\n" for line
returns but when I run the script it puts in that square for a non
recognized character. How do I force a line return in the scrolling string
box?
The other problem is that the dialog is always drawn with the
label to the left of the string box. I've seen some scripts with the label
on top for this type of control but I can't find a way to set it on the
top.
Thanks,
--
Byron Nash
--
Byron Nash