MoI discussion forum
MoI discussion forum

Full Version: Script Runner

Show messages: All  1-2  3-4

From: vector illustrator (QUARITEXA)
6 Jan 2020   [#3] In reply to [#2]
How to define buttons is understandable. And how do you change the focus on the menu items?
From: Michael Gibson
6 Jan 2020   [#4] In reply to [#3]
Hi Quaritexa,

re:
> And how do you change the focus on the menu items?

I'll probably need some more detailed information on what you're doing. Are you using <moi:MenuItem> elements there and you want some of them to have a highlighted background?

If so you could try switching to <moi:ListItem> elements instead, a <moi:ListItem> inherits from StateButton which means it has a .value property and if that is set to true it will display with a different state.

A <moi:MenuItem> element does not have a built in way to display a different background like that, it only has a .checked property for showing a checkmark or not.

- Michael

Show messages: All  1-2  3-4