Trigger event via a category parameter

Help each other out

Trigger event via a category parameter

Postby scottw on Tue Nov 07, 2006 4:09 pm

Ok, what I am trying to do is have a list of menu items on the left with and UP, Down, and Select button on the right. I want to be able to scroll thru those menu items with the arrows on the screen and hit the select button to execute. I don't want to click on the individual menu items themselves but rather highlight one of them using the arrows on the screen and hitting the select button to take me to another screen.

The only way I could see to do this was to have the menu as a category and use the Category-Next Item event to cycle thru them. What I can't figure out is how to have them when triggered goto a different screen. I was thinking of specifying a Goto Screen command for each menu item but I can't figure that out.

I may be thinking of this in to much detail, maybe there is an easier way and I would love to hear it :D

Thanks,
Scott
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Postby Marbles_00 on Tue Nov 07, 2006 10:17 pm

Download Qtips MediaX skin for help. Its an awesome looking skin and can be downloaded here. I want you to use that skin to learn on as it already has menu categories setup. We will work with the main menu screen.

ONLY DECOMPRESS THE SKIN!!!! Not the whole .zip file. I did and found out that it sets itself up on an older version of XLobby that does not work with .Net2. OR in the least make sure you backup your Xlobby folder. What a pain that was :? .

Open Xlobby setup:

Create events called Next Item and Previous Item and set category/next item , category/previous item commands respectively to the events (anywhere in one of the groups, or create your own group).

Also create an new event called Category Play and set a category/execute command to that event.

Close Xlobby setup and open the skin editor.

Highlight the up arrow button and change the event that's been tagged to it to the Previous Item event.

Highlight the down arrow button and change the event that's been tagged to it to the Next Item event.

Create a new button and set its event to the Category Play event.

Select the menu category, click on the category tab/display and the click on the Unselected button. Click on image, the select the bar-selected.png (this should be the same as the Selected image).

Close the skin editor, you should now see a menu item highlighted, clicking on the up arrow takes you up a menu item, clicking on the down arrow should take you down one menu item. Click on the the new button that you created should now take you to that screen.

Now you can take your new found knowledge and incorporate it into whatever skin you want, providing you understand how to setup menu categories...but that's a lesson for another day. :wink:

Hope that helps you out.

*EDIT*
I stand corrected the image to use is not bar-selected.png, but it should be bluebutton-green.png. Sorry bout that.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Postby Marbles_00 on Tue Nov 07, 2006 10:42 pm

You can click here to goto a page where you can view a avi example.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Postby scottw on Wed Nov 08, 2006 2:05 pm

Thanks for your dedication!!!!!

I didn't even know that you could set an event to each database item, that's cool and opens up more possibilites :D


I have it working, thank you, but have two problems trying to use it via the thin client (PPC).

1) When I first go into the thin client via the ppc I have it pull up this new page. I click the next button to cycle thru the category menu and get nothing. If I click on a item manually and then go back the next/previous buttons work fine. It seems the focus is not set to the category upon opening the thin client, even though I do have it set as "Default" in the Default tab of the skin editor. Upon the first open I notice none of the menu items are selected until I do the manual select and then going back I have one selected and then can cycle thru them. I understand why it is not working but don't know how to fix it.

2) My menu items are longer than the category window and when I cycle thru them it does not scroll down to show them. For example I have 3 that are not shown by default (they are below the category window), I cycle thru to the last "shown" item and click the next button and the "highlight" disappears until I hit it 2 more times and then shows back up at the top. I can select those "hidden" items but can not see them if that makes sense :? . I set the scroll option of the Category tab in the skin editor to UP Down Move figuring that would do it but it does not. Again I know why this is happening but how do I fix it :?:


Sorry about the long post and would love any ideas from anybody!!!!

Thanks,
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Postby scottw on Thu Nov 09, 2006 1:00 pm

Both of these problems above were fixed by upgrading to the August release.
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland