Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
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
Posts: 3,919
Joined: Jul 2010
Reputation:
154
BigNoid
Team-Kodi Member
Posts: 3,919
Doesn't seem to work indeed. You can check the value of Container.Row though, e.g. String.IsEqual(Container.Row,2)
Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
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
Posts: 3,919
Joined: Jul 2010
Reputation:
154
BigNoid
Team-Kodi Member
Posts: 3,919
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.
Posts: 1,332
Joined: Jan 2016
Reputation:
54
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?
Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
Omitting the id worked. Cheers, guys.
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills