Conditional animations in context menu
#1
I want the context menu to appear in a different position depending on which item in the list container is focused. I've tried using Container().Row() as a condition but it isn't working. Does that not work within the context menu dialog?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#2
Base them on which control has focus?

Code:
Control.HasFocus(1001)

1001 is the first button, then 1002, etc.

EDIT: Or try using
Code:
ControlGroup(996).HasFocus(id)
Reply
#3
Doesn't seem to work indeed. You can check the value of Container.Row though, e.g. String.IsEqual(Container.Row,2)
Reply
#4
Can't seem to get any info from the list container while in the context menu. Can I just confirm which id the list uses in Estuary?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#5
You need to omit the id, otherwise it will search for that id in the context menu and won't fallback to the media window container.
Reply
#6
I may be speaking totally out of turn or just be wrong, but I have had issues with the controlgroup.hasfocus.... What is working for me is control.hasfocus(container,I'd) also control.setfocus(container,I'd).

Not sure if that applies here.

But it allows me to jump all over the screen and I am using it for visibility conditions so it should work for animations possibly?
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#7
Omitting the id worked. Cheers, guys.
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply

Logout Mark Read Team Forum Stats Members Help
Conditional animations in context menu0