Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   SmartDashboard CommandButton (http://www.chiefdelphi.com/forums/showthread.php?t=114930)

ggorsuch 12-03-2013 22:20

SmartDashboard CommandButton
 
We are using buttons on smartdashboard to trigger preset shooter commands. However, the buttons are quite small for use on a touch screen. When I right click on it, I can change to CommandButton, which allows resizing. The problem, it no longer works. How do I integrate CommandButton into our program (java). Right now we are using:
Code:

SmartDashboard.putData("Back Pyramid", new PresetShot(16.0, 4500.0));

F22Rapture 13-03-2013 00:07

Re: SmartDashboard CommandButton
 
Try making an "InternalButton" that links to the command, and then add the InternalButton to the SmartDashboard using putData.


All times are GMT -5. The time now is 22:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi