set the topLeft of fld "F" to the selectedLoc
kray at sonsothunder.com
Tue Nov 18 21:48:30 CST 2003
Perhaps the object that is executing the script is removing the
insertion point from the field. If you are clicking a button to see this
happen, you'll need to turn off the traversalOn property of the button.
I just tried it with two fields and a button which had the script:
set the left of fld 2 to (item 1 of the selectedLoc)
and it worked just fine, but only after I turned off the traversalOn
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> erik hansen
> Sent: Tuesday, November 18, 2003 5:41 PM
> To: How to use Revolution
> Subject: set the topLeft of fld "F" to the selectedLoc
> read all of the TD "selected" entries but...
> still cannot get <the selectedLoc> to work.
> this is RR 1.1 (still waiting to update),
> so it may work in the latest version as it did
> in HC and MC.
> the idea is to have a small field positioned just
> to the right of an entry in a larger field.
> on og
> put "X" after fld "Big_Numbers"
> -- (in case fld "numbers" = empty)
> select the last char of fld "Numbers"
> put item 1 of the selectedLoc into tLeft
> set the left of fld "Lil_Numbers" to tLeft
> delete the last char of fld "Numbers"
> end og
> any help appreciated,
> erik at erikhansen.org http://www.erikhansen.org
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-> revolution
More information about the use-livecode