Thread
:
How to create an On/Off button?
View Single Post
#
11
07-02-2013, 15:50
Arhowk
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Re: How to create an On/Off button?
This is code that I wrote and use. Just make all of your buttons AdvancedButton and call
button#.togglePressed(yourCommand);
some variables are protected so that they cant be accessed but u can still extend the class and make your own addition
code
Arhowk
View Public Profile
Find all posts by Arhowk
Find CD-Media Photos by Arhowk
Find CD-Media Papers by Arhowk