Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 59

Ashy_Ravaliya
Aspiring developer
Profile
Posts: 51
Reg: Apr 21, 2012
London, United ...
3,310
09/12/12 05:03 PM (13 years ago)

Creating a button that loads nothing

Hi guys, How can I make it so a button does not load anything? I basically want to hide a few buttons in my grid and if the user clicks on certain buttons I want nothing to happen. Thanks for your time. Ashy
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
09/12/12 05:53 PM (13 years ago)
You could have the button just re-display the screen they are on.
 
Ashy_Ravaliya
Aspiring developer
Profile
Posts: 51
Reg: Apr 21, 2012
London, United ...
3,310
like
09/12/12 06:33 PM (13 years ago)
That makes sense!! Doh...its late here not thinking straight! Thanks!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/13/12 02:10 AM (13 years ago)
But...that would create an endless list of "Back buttons" right? LOL. If you keep re-loading the "next screen" as the "same screen" you'll end up having to tap "back" a zillion times to find your way out. Too funny, I've ran into this myself a few times. After downloading the source code, find the buttons in your config.txt file and add "none" in the loadScreenWithItemId JSON property...like... "loadScreenWithItemId":"none" Should work.
 
Ashy_Ravaliya
Aspiring developer
Profile
Posts: 51
Reg: Apr 21, 2012
London, United ...
3,310
like
09/13/12 02:29 AM (13 years ago)
Haha...Thanks David will try this as soon as I can! I love it the deeper I get into creating this app the more little road blocks I face. I never though I would be so happy to make a button do nothing!! Great stuff I'm loving it! Thanks again for your time Ashy
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.