templateField Broken?
Dan Shafer
revdan at danshafer.com
Sat Mar 5 17:37:15 EST 2005
Doh.
But in fact, templateField does NOT work as far as I can tell. I typed
it correctly in Rev, just transposed it in the email.
Here's what I see:
1. create a new mainstack.
2. in msg, type "set the margins of the fieldTemplate to 10"
3. In msg, type "put the margins of the templateField"
4. Value returned is in fact 10
5. Create a new field by dragging from the tool palette
6. examine its margins. The value is 8
7. In msg, type again "put the margins of the templateField"
8. Value returned is now 8.
Now, at step 5, create the field in a script with "create field." Check
its margins. They are set to 10. But if you then create a new field by
dragging from the palette, the margins reset to 8 and that same value
becomes the value the margins in the templateField.
Broken, no?
On Mar 5, 2005, at 1:15 PM, Dick Kriesel wrote:
> On 3/5/05 12:47 PM, "Dan Shafer" <revdan at danshafer.com> wrote:
>
>> Is anyone successfully using the fieldTemplate property in Rev 2.5?
>
> Probably not. But property templateField seems to work the way you
> want.
>
> "Senior moments" brings to mind the sign at the senior living center:
> "Remember to pray. Pray to remember."
>
> But we get by with a little help from our friends.
>
> -- Dick
> _______________________________________________
> 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