Some Visibilty questions (1 Viewer)

kyleh0000

MP Donator
  • Premium Supporter
  • April 28, 2009
    144
    23
    Home Country
    Hi all

    im having a go at creating my first skin, im starting to get the hang of it but i have been asked to make it touch screen friendly im almost there in getting it done, however i have a questions about the navigation.

    is there anyway to give a control focus?

    I have a horizontal menu that scrolls accross using the arrow keys, however what i want to do is when someone uses the mouse and clicks on one of the greyed out items i want it to give the associated item focus

    im not sure if i can do it using the <action> tag or using the <hyperlink> tag

    Hopefully i explained it well enough, i dont have a screenshot to post atm but ill try get on tonite so i can explain it a bit better

    thanks in advance
     

    citizenkeys

    Portal Pro
    May 17, 2009
    187
    16
    Home Country
    United States of America United States of America
    presuming your control is a picture, do it as a button using a hyperlink as follows:
    Code:
        <control>
          <description>my control</description>
          <type>button</type>
          <id>2</id>
          <hyperlink>1</hyperlink>
          <onup>5</onup>
          <ondown>8</ondown>
          <onright>69</onright>
          <texture></texture>
          <textureFocus>home-focus.gif</textureFocus>
        </control>

    hyperlink is the window id of whatever screen you want to go to.
    be sure to use the onup, ondown, onleft, onright stuff for your controls or you'll have no way to navigate to/from it with the remote.
     

    Users who are viewing this thread

    Top Bottom