List field line-up
Feasey, Nicholas
NFeasey at utpress.utoronto.ca
Thu Jul 25 13:17:01 EDT 2002
Yes, great, your script works nicely. What about changing the hightlight on
these additional fields as well? I tried hilite but that seems to only work
on buttons.
N
-----Original Message-----
From: Klaus Major [mailto:klaus.major at metascape.org]
Sent: 25-Jul-02 3:46 AM
To: use-revolution at lists.runrev.com
Subject: Re: List field line-up
Hi Nicholas.
> I'm having a problem when I add fields from a file into a field.
> I have, say, name, address and phone number. The text file uses a TAB
> as
> the delimiter.
> I load it into the list and everything loads just fine.
> However, I can't get the fields to line up. I'm not sure what the
> issue is.
> So, if I have the following fields with each item separated by TAB:
> Joe Smith 123 Somestreet 416-999-9999
> Nicholas Feasey 7 MyStreet 416-888-8888
> ...when it gets into the list field it doesn't line up (in the example
> above, for obvious reasons).
These questions have already been answered sufficiently, i think.
> Can I put each item into an individual field and have the three fields
> (Name, Address, Phone Number) scroll in sync?
This is also possible.
In case you might need this in the future, here is how to do that.
Example:
You have 3 fields, nicely lined up.
Field 1 and 2 do NOT have a scrollbar.
Field 3 has a scrollbar and you just have to add this to the script of
fld 3:
on scrollbardrag
set the scroll of fld 1 to the scroll of me
set the scroll of fld 2 to the scroll of me
end scrollbardrag
Et voila, they scroll in sync and you are happy :-)
Regards
Klaus Major
klaus.major at metascape.org
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list