![]() |
Drop down menu in SFX
:cool: Hey Chief Delphi I'm having trouble with making a drop down menu in SFX (smart dashboard 2.0) thanks for any help you can give me
|
Re: Drop down menu in SFX
You can use a SendableChooser
http://first.wpi.edu/FRC/roborio/rel...leChooser.html https://wpilib.screenstepslive.com/s...smartdashboard |
Re: Drop down menu in SFX
Thanks but we have already tried that ::ouch:: when we use this it returns the default values
|
The sendable chooser is the easiest and most reliable way of doing this, I can help you debug your code if you want, you can post it in a paste bin or GitHub if you want
|
Re: Drop down menu in SFX
I have had abundant problems with this widget, but after painstaking repetition, I have developed a solution. Please follow the below steps EXACTLY to ensure you get the same results!
1) Make a new Tab in the SFX - Dunno why, but just safer to start fresh 2) Click the "+" or "add" tab, and drag in the Options array from your SendableChooser 3) Double-click the SendableChooser to edit the widget, and copy the Path EXCEPT for the "/options" part. This should look something like "SmartDashboard/AutonomousMode/options". ONLY COPY the "SmartDashboard/AutonomousMode" 4) Add another widget, ComboBox 5) Edit the ComboBox widget and paste the path. 6) Should be good to go! Make sure to press the "Play"/Green arrow to interact with the chooser |
Re: Drop down menu in SFX
Worked for us thank you
|
Re: Drop down menu in SFX
We're not seeing the morph option. What did we mess up?
|
Re: Drop down menu in SFX
Quote:
|
Re: Drop down menu in SFX
Quote:
I am not happy about the BeerHall Putsch that forced me to Java this year. T |
| All times are GMT -5. The time now is 01:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi