Go to Post I believe the employees of AndyMark should start making presentations to large companies on the right way to run a business. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2013, 19:44
Mastonevich's Avatar
Mastonevich Mastonevich is offline
Andrew
AKA: Andrew Elsen
FRC #1987 (BroncoBots)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Missouri
Posts: 221
Mastonevich is a jewel in the roughMastonevich is a jewel in the roughMastonevich is a jewel in the rough
We found somewhere in the documentation where u need to put it in the interrupted function and it worked for us.
__________________
~Andrew

Regional Chairman's: 2013-Alamo, 2010-Oklahoma, 2009-Colorado
Engineering Inspiration: 2016-Hub City, 2012-St. Louis, 2008-Minnesota
Regional Wins: 2010-Oklahoma
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2013, 20:03
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Command-based while button presed

Quote:
Originally Posted by Mastonevich View Post
We found somewhere in the documentation where u need to put it in the interrupted function and it worked for us.
Yeah.... was about to say that putting the cancel functions in interrupted and not end worked.

On a slightly related topic, can I wipe the commands currently linked to a button?

i can do

button.whilePressed();

but can i do

button.releaseCommands();

so that it no longer runs the commands issued by .whilePressed()
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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