On 11/28/12 3:53 PM, Richard Gaskin wrote:
J. Landman Gay wrote:
This sounds like a good candidate for the new field properties. Make the
first line of the field the header. Set its backgroundcolor, and if you
want, add some spaceabove and spacebelow. Add a borderwidth if you want,
or a textstyle. See the release notes for all the cool new paragraph
features you can use. Basically almost all the field-level properties we
have can now be applied to individual lines.

That's all you'd need to do. The tabstops will inherit from the field
and everything will scroll normally because it's all one block of text.
The only change you'd need to make would be to remove the first line of
text in your scripts before processing any content.

I think I'm missing something:  how can we set the first line to NOT
scroll as the rest of the field is scrolled?

The original request asked for a custom control that served as a list header. It would be a separate group that would have to synch to the content field as it scrolled.

The easy solution is to make the first line of the field into the header and not worry about synching anything.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to