"Can't set property" returned upon trying to set the hScroll, vScroll of a group from card script
J. Landman Gay
jacque at hyperactivesw.com
Wed Jul 11 19:01:34 EDT 2012
On 7/11/12 4:10 PM, Jessica McBeck wrote:
> Hello again,
>
> Figured out the problem. It turns out that livecode is rather picky about
> the syntax surrounding setting hscroll and vscroll. I got the code working
> by something along the lines of:
>
> put the vScroll of group "ScrollingGroup" into v
> put y into v
> set the vScroll of group "ScrollingGroup" to v
Your original should have worked. The fix above resolves to the same
values so I'm thinking something else was wrong, but without seeing the
whole script it's hard to say. I've never had to resort to the above
workaround though.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list