Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Drop down menu in SFX (http://www.chiefdelphi.com/forums/showthread.php?t=143997)

darklink2458 16-02-2016 20:55

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

euhlmann 16-02-2016 21:39

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

darklink2458 16-02-2016 22:01

Re: Drop down menu in SFX
 
Thanks but we have already tried that ::ouch:: when we use this it returns the default values

mreynolds 17-02-2016 09:47

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

An Outlier 21-02-2016 10:45

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

Joe Derrick 29-02-2016 10:36

Re: Drop down menu in SFX
 
Worked for us thank you

tcjinaz 23-03-2016 19:08

Re: Drop down menu in SFX
 
We're not seeing the morph option. What did we mess up?

darklink2458 30-03-2016 19:06

Re: Drop down menu in SFX
 
Quote:

Originally Posted by tcjinaz (Post 1562154)
We're not seeing the morph option. What did we mess up?

No the morph button has not been working on our smart dashboard either

tcjinaz 31-03-2016 01:17

Re: Drop down menu in SFX
 
Quote:

Originally Posted by darklink2458 (Post 1565482)
No the morph button has not been working on our smart dashboard either

Very disappointing. Now we stick to SmartDashBoard. Or, we make the leap back to that fantastic GUI construction system available in the LabView DashBoard.

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