Jump to content


Photo

2 Conditionals


  • Please log in to reply
3 replies to this topic

#1 LarryX

LarryX

    X-S Young Member

  • Members
  • Pip
  • 42 posts
  • Xbox Version:v1.0

Posted 22 March 2004 - 12:37 AM

The first condition works but the second doesn't... Is there another way to do this?

*Version 0.9n.6*

CODE
 <LayoutElement Type="Image" Source="Folder">
  <Scaling X="True" Y="True"/>
  <Justify X=center Y=center/>
  <Proportional>True</Proportional>
  <Pos X="66" Y="408" W="35" H="35"/>
  <Condition>ItemSubMenu</Condition>
  <condition>submenu</condition>
 </LayoutElement>


#2 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderator
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 22 March 2004 - 12:47 AM

The SubMenu conditional is true when you are inside a submenu - i.e. not sitting on a selection in the top level menu.

ItemSubMenu is true when the item SELECTED is a submenu.

#3 LarryX

LarryX

    X-S Young Member

  • Members
  • Pip
  • 42 posts
  • Xbox Version:v1.0

Posted 22 March 2004 - 12:57 AM

So.... The item should only appear when in a submenu and the item selected is a submenu... Correct?

My problem is this way:
CODE
<Condition>ItemSubMenu</Condition>
<condition>submenu</condition>

The item shows on the mainmenu...

This way
CODE
<condition>submenu</condition>
<Condition>ItemSubMenu</Condition>

The item doesn't show on the mainmenu, but it shows all the time on the submenu...

#4 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderator
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 22 March 2004 - 01:11 AM

Yeah, I think only the first conditional is picked up currently.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users