Change to the label property in 6.7

Paul Hibbert paulhibbert at mac.com
Sun Mar 30 17:35:45 EDT 2014


On 2014-03-30, at 12:08 PM, Peter Haworth <pete at lcsql.com> wrote:

> Thanks for the follow up Paul.  In 6.7, setting the label of an option menu
> is supposed to set the menuHistory to the related value while not
> generating a menuPick.  In previous version, setting the label had no
> effect on the menuHistory.

Ah, now I see, yes that does work, provided you set it to a label that does exist in the text of the Option Menu. However, if you set the label to something that doesn't exist in the text of the option menu then it has no effect on the menuHistory, it doesn’t set it to empty or zero, it just retains the previous value.

The only other change I can see is that in LC 7.0 (dp1) setting the menuHistory to empty doesn't throw an error as it does in lower versions, it just sets the menuHistory to 1.

Paul



More information about the use-livecode mailing list