align field scrolls

dunbarx dunbarx at aol.com
Mon Mar 6 09:06:27 EST 2017


So if your two fields have different number of lines, you must scale the
"slave" field to the "master. You cannot just align their scroll values.

If the master has, say 100 lines, and the slave 75, you simply set the ratio
of the scroll of the master to its total line count to the ratio of the
slave's similar properties. You may need the "trunc" function to avoid
unnecessary pain and suffering.

Craig 



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/align-field-scrolls-tp4712848p4712853.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list