fieldTemplate Broken?

Dan Shafer revdan at danshafer.com
Sat Mar 5 17:59:49 EST 2005


Exactly the behavior I'm seeing. It's fine, just not clear or all that 
predictable without study.

Dan

On Mar 5, 2005, at 2:54 PM, Dick Kriesel wrote:

> On 3/5/05 2:21 PM, "Malte Brill" <revolution at derbrill.de> wrote:
>
>> The docs state that the templateField is reset when the handler
>> finishes executing...
>
> I remember reading that some time ago, but I can't find it in the docs 
> for
> 2.5.  A couple quick tests suggest it's not true now.
>
> 1: create new mainStack
> 2: create new button
> 3: edit its script:
>      on mouseUp
>        set the width of the templateField to 400
>        set the backgroundColor of the templateField to "green"
>        create field
>      end mouseUp
> 4: check the properties in the message box
>
> But the properties appear to get reset by either dragging the field 
> tool
> from the tools palette or selecting "Field" from the "New Control" 
> item of
> the "Object" menu.
>
> When the IDE learns to speak, its first word might be "Gotcha!"
>
> -- 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