Raised This Month: $ Target: $400
 0% 

[MENU QUESTIONS] Next&Back run sound, and why on page 2 options start from 1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
nnajko
Senior Member
Join Date: May 2009
Location: Sweden
Old 05-28-2015 , 18:20   Re: [MENU QUESTIONS] Next&Back run sound, and why on page 2 options start from 1
Reply With Quote #5

You can remove the pagination. By setting MPROP_PERPAGE to 0.
Like so;
PHP Code:
    menu_additem(menu"Item 1""1");
    
menu_additem(menu"Item 2""2");
    
menu_additem(menu"Item 3""3");
    
menu_additem(menu"Item 4""4");
    
menu_additem(menu"Item 5""5");
    
menu_additem(menu"Item 6""6");
    
menu_additem(menu"Item 7""7");
    
menu_additem(menu"Item 8""8");
    
menu_additem(menu"Item 9""9");
    
menu_addblank(menu0);
    
menu_additem(menu"Exit""0");
    
menu_setprop(menuMPROP_PERPAGE0);
    
menu_display(idmenu); 
The downside is the exit button gets removed and you manually have to add it / catch the case of it getting pressed.

Since this is not working?
Code:
#define MEXIT_FORCE		2

Last edited by nnajko; 05-28-2015 at 18:20.
nnajko is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode