Bug in Properties command in 6.1?
Monte Goulding
monte at sweattechnologies.com
Thu Jul 18 19:20:43 EDT 2013
OK, so I'm struggling to work out the precedence rules here. Setting the htmlText first didn't work so after looking at the hilitedLines setprop I noticed listBehavior must be true. So I set that first too and it's still not working. What I think is happening is setting some other property is clearing the hilitedLines but I'm having a hard time thinking exactly what would do that. Can anyone think of any other properties that either must be set before hilitedLines is set or when setting them the hilitedLines are lost?
Cheers
Monte
On 19/07/2013, at 3:15 AM, Timothy Bleiler <bleiler at buffalo.edu> wrote:
> This looks like a bug to me.
>
> Create a new stack
> add a button and a list field
>
> Set the button script to
>
> on mouseUp
> Get the properties of fld 1
> Put 2 into it [ "HilitedLines" ]
> Set the properties of fld 1 to it
> end mouse up
>
>
> Works in 5.5.4. In 6.1, the hilitedLines is empty after the properties of field 1 are set.
> Only tested on a Mac.
>
> Anyone else seeing this?
>
>
> Tim Bleiler, Ph.D.
> Instructional Designer, HSIT
> University at Buffalo
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
--
Monte Goulding
M E R Goulding - software development services
mergExt - There's an external for that!
More information about the use-livecode
mailing list