Detect when a button is pressed for more than a certain period of time

How do I detect if a button is pressed for more than a certain amount of time? E.g. if you press on the delete button on the dialer and hold it there, it continues to delete. Or if you hold down the .com button for more than a sec, it changes to .net and so forth.
Thanks

Start a timer when the button is pressed. Reset the timer when the button is released. If the timer expires before being reset then you know the button has been held down at least as long as the timer was set for.

Similar Messages

  • Master_detail for more than one record at a time

    Hi,
    How can i display master_detail records for more than one records at a time, for example, i have two tables A and B , A has username and role and B has username and profile. here i wanted to display 10 users at a time on my 6i form with username, role and profile.
    i have created a master-detail relation ship with these tables when i'm executing F8 on blcok A , it displays 10 records on BlockA but, only one at a time on block B, how can i display all corresponding records on block B at a time.
    Thanks for your help.Bcj

    Thanks Roberts, that was realy informative due to some doubts i would like to confirm my requirements , i have two blocks A and B and each master record has only one detail record. but i wanted to display at least 10 master_detail relationships(records) on the form at a time, i would like to know is it possible to do without creating any table or view for example,
    data in table A,
    username role
    AAA R1
    BBB R2
    CCC R3
    data in table B,
    username profile
    AAA P1
    BBB P2
    CCC P3
    i wanted to display it on form like below,
    username role profile
    AAA R1 P1
    BBB R2 P2
    CCC R3 P3
    Also would like to know that how can i select data from dba_users, any restriction is there on forms 6i, i can select it on sqlplus.
    Thanks Again, Bcj

  • Kindly refer to Case Id No. 525700065 in India.I have talked to various people on my case for more than 5 hours ( Total talk time) The people give various different answers and aim really fed up now. What do i do? Many apple phone users are especially fed

    Kindly refer to Case Id No. 525700065 in India.I have talked to various people on my case for more than 5 hours ( Total talk time) The people give various different answers and aim really fed up now. What do i do?
    Many apple phone users are especially fed up with RSGI Communication , Erandwana, Pune, Maharashtra, India.
    Their service report No. 36679.
    Allthough Mr Punit ( Technical Dept. Apple.) had requested RSGI to chance the device, still RSGI said they do not have the device ( I phone 5, white ,16GB) in stock.
    Today when we contacted them they said they won't be able to replace OR order to Apple unless and until we do not keep the device with them for 3 days.
    Mr Deepak of Technical Dept Apple was contacted who's telephonic Transript as proof is available with us.

    Who exactly are you addressing your screed to
    There are  no Apple Staff on this forum ,it is User to User

  • Perform VENDOR EVALUATION for MORE THAN ONE VENDORS at a time

    Hello all,
    Please guide for any process where i can perform Vendor Evaluation for MORE THAN ONE vendors AT A TIME.
    At my location there are around thousand vendors, which are to be evaluated, and difficult to perform the evaluation process one-by-one.
    (ME61/ME62/ME63)
    Detailed replies with various possibilities would be highly appreciated.
    Thanks & Regards,
    Joy Ghosh

    The vendor evaluation for some thousand vendors at the same time has already been in SAP long before they developed LSMW. The purpose of LSMW is to load data from a legacy system, of course you can (mis-)use it for a lot other things.
    But you should not always use LSMW if you are to lazy to go thru the SAP standard menu to find a transaction like ME6G
    There you define a job that runs RM06LBAT report.
    You first have to define a selection variant for this report. this can be done in SE38 by entering the report name, select variant, clicking display, then entering a name for the variant and clicking Create.

  • Setting Equalizer for more than one song at a time

    Is there any way to set the equalizer setting for more than one song at a time. For example, if I have a classical music album with 10 songs, can I set the equalizer for "classical" for all 10 songs at once? It's a pain to have to do it for each one individually. I tried using the "shift" key, but to no avail.
    Thanks,
    Joe The Author

    highlight all the songs you want then right click and go to get info. in the options tab at the top there is an equalizer preset option.

  • My iphoto quites unexpectedly everytime I open it and says closes while using the eOkaoFr.dylib plugin. Does anyone know how to fix this? iphoto won't stay open for more than 1 minute at a time.

    My iphoto quites unexpectedly everytime I open it and says closes while using the eOkaoFr.dylib plugin. Does anyone know how to fix this? iphoto won't stay open for more than 1 minute at a time. Help anyone?

    Is there a crash log? If so post the first 100 or so lines o fit
    Do you know what the ofending plugin is? and where it came from?
    LN

  • Setting color codes for more than one photo at a time

    Is there any way to set color codes for more than one photo at a time?

    Hi John,
    I will look at keywords. My issue is speed. Right now I am culling and editing an event shoot that spanned a week with 35 separate events and more than 5000 images. So I use the fastest most convenient method I can and it still takes a long time to have a completed and final shoot. On this shoot I will end up with a final set of around 1500 images. Right now I am finishing processing a show that will hang in the Deutsches Amerikanish Zentrum in Stuttgart.
    As I am sure you are aware by now, having seen enough of my inane questions that over the last two years or since Lightroom version 1.xx if I could not figure out how to do something I skipped it. So many things in Lightroom are buried and unless you have a mind like a steel trap (and think that some of you guys in the forum do) locating how to do something is not obvious.
    For example, I only learned (in the last hour) that I could assign colors as a group of selections by using Shift + number. I found this in a side head in Martin Evenings Lightroom book. I still do not know how to find a way to display the color filter "selection" set in Library mode. Is there a way?
    To top it off, Stuttgart Media University asked me if I would add a Lightroom module to my schedule this year. Now I have a compelling reason to learn all those missing pieces that I have created workarounds for. Hence the number of posts you have been seeing from me over the past few of weeks.
    I tell my class that there are no such things as stupid questions, only questions. Now I am practicing what I have been preaching for the last gazillion years. Guys like you have been great.
    My workflow is
    1. I first separate all images by event. I do that at the time of import.
    2. I do a fast pass rejecting all the obviously bad images
    3. I do a second pass grouping the images by sub-group (speeches, people talking, performances, etc.) This is where I run out of selection methods and your key-wording could work but it would probably take too much time to establish a keyword set for a single event. Where I have more than five subgroups I set up different collection sets with one collection for each sub group. However I would like to keep a single event in one collection.
    4. I then select the images to be used by color code.
    5. Next I process the final images (crop develop etc) by collection.
    6. Last I output the set according to client requirement.
    If you have a better workflow, I am all ears.
    By the way, what is your photo specialty and where are you located?
    Jim

  • Quota deduction when EE has been inactive for more than 180 days / Advance quota days when employee does not have enough balance

    Dear experts,
    We have two requirements regarding to the "Anual leave" quota.
    1. Quota reduction when employee is inactive for more than 180 days
    2. Advance quota days when employeee does not have enough balance
    We have in place an "Anual Leave" quota related to a calendar year period, that gets generated dialy in time evaluation. This quota gets the employee entitlement from a set of rules that stored the corresponding balance in a period time type, that is the one that we defined in the customizing. This is working fine. The problems start when we try to incorporate the other two requirements.
    Regarding the first requirement, if the employee has been inactive for more than 180 days in a calendar year due to unpaid leave, we need to start quota reduction as follow,
    First, we need to clear the balance that was calculated above in the schema.
    Then, we need to calculate one leave day for every 20 days worked till the end of the year, considering as such, everyday the employee is expected to work, except days on which the employee has been absent on unpaid leave.
    For the second requirement we created a manual quota call "Advance Anual Leave". So, if the employee, wishes to take 20 working days holiday, but in his/her Anual Leave quota has only 10 days available, we have to create an "Advance Anual Leave" quota manualy for 10 days. When the quota for next year gets generated, we need to deduct these advanced 10 days from it. This deduction should stop the year after.
    The problem we are finding with these two requirements is that, due to the Anual Leave quota gets generated dialy, we can't get the balance right.
    Thanks in advance!
    Kind regards,
    Alex

    Hello binbingogoABC,
    Shopping on BestBuy.com should be easy and fun and not fraught with the kind of trouble that you describe. I regret very much that this has been your experience.
    Using the information you provided when you signed up for Best Buy Unboxed I was able to locate your cancelled orders. I have requested more information from my back-office partners. As soon as I have additional details about your situation, I will reply again to this message. In the interim, I'm sorry that I must impose upon your patience.
    I'm very grateful that you wrote to us with your concerns.
    Sincerely,

  • Cannot Get Mail for more than 5 accounts at a time

    I have a total of 9 POP email accounts setup in Mail. The problem is that my dedicated server doesn't allow for more than 5 simultaneous send/receives per IP (which unfortunately cannot be changed). When I click on "Get Mail", I see it tries to get mail for all accounts at once, and I need to somehow change that within Mail. Ideally I need it to check accounts individually or, as you can do in Entourage, group it into send/receive schedules with 4 per group.
    I am desperate, someone please help!

    If App Store has an app that can make, e.g., zip archives of multiple photos, then it could help (you package a bunch of photos in a zip file, and then you send only one attachment; the zip file).
    Disclaimer: I don't know the App Store apps nor the iPhone SDK well enough to know if such an app exists or if it is even possible.

  • Creating SQL-Loader script for more than one table at a time

    Hi,
    I am using OMWB 2.0.2.0.0 with Oracle 8.1.7 and Sybase 11.9.
    It looks like I can create SQL-Loader scripts for all the tables
    or for one table at a time. If I want to create SQL-Loader
    scripts for 5-6 tables, I have to either create script for all
    the tables and then delete the unwanted tables or create the
    scripts for one table at a time and then merge them.
    Is there a simple way to create migration scripts for more than
    one but not all tables at a time?
    Thanks,
    Prashant Rane

    No there is no multi-select for creating SQL-Loader scripts.
    You can either create them separately or create them all and
    then discard the one you do not need.

  • Ipod nano not playing audiobooks for more than one minute at a time

    Does anyone know how to fix this problem?  I stopped using it after I couldn't play an audiobook for more than a minute before it stopped.  A friend thought she had fixed it, but I downloaded another audiobook to the ipod nano and it did the same thing...played for a minute and then turned off.  I want to take it with me on a 8K walk, but it is discouraging.

    No there is no multi-select for creating SQL-Loader scripts.
    You can either create them separately or create them all and
    then discard the one you do not need.

  • When designing, how do I copy more than one field at a time?

    How do I copy more than one field at a time?

    Hi,
    You can use the Ctrl or Shift modifier keys to select multiple form items. Ctrl+click toggles the selected state of the item. Shift+click selects a range of form items.
    Regards,
    Brian

  • There is a way to use the button enhance for more than one photo at a time?

    I have more than a thousand photos to edit,  this can help a lot.

    This might help:
    http://www.feroxsoft.com/ibe/index.php.en
    Regards
    TD

  • Is there a way to lock transparent pixels for more than one layer at a time?

    I've tried selecting multiple layers to modify but the lock transparent pixels box becomes greyed out once I've selected more than one layer. Apologies in advance if this is deemed to be a stupid question but it would be greatly appreciated if someone knows of a solution. It would be very handy for some of the projects I'm currently developing.
    Thanks.

    I have not had a problem in Photoshop CC 2014 as long as I selected a layer with transparency, in my case the gray checkerboard. The button would dim if I selected an adjustment layer.

  • Live trace for more than 10 images at a time please

    I need help with an effect I would like to do by applying live trace to a folder of images that later will be asembled as a movie in after effects. I'm not a good scriptor and the only way I have been able to get this to work is in bridge using the live type export. This works excellent only I am limited to 10 images at a time which is not good when there are 30 images in 1 second of video. If I want to apply this effect to hundreds of illustrator files is there a better way.
    Please script experts in adobe land help me. The pay off will be really nice if only I can get it to work. Thanks. -tyler

    Hi Tyler,
    Open the script file and near the top (about line #34 change the "10" to what ever number you would like. You may want to keep a back up copy in a safe location prior to making modifications and depending on the number or files you set the new value to you may notice long periods of time that it seems as if the Bridge has hung or stopped responding.
    Cheers,
    oneale

Maybe you are looking for

  • DataRescueII won't recover mail

    Help.... I trashed the mail.plist file in my users/xxx/library/prefs because I thought that would solve a problem I am having with Mail. When I went to re-open Mail.app, it asked me to start a new account. YIKES! Where are my several POP accounts and

  • Please solve this problem for me.

    I can not get it up in the game's "Your Purchase Could Not Be Completed. For assistance, contact iTunes Support at www.apple.com / support / itunes / ww. Please solve this problem for me.

  • Two servers with redundant connections for Sun StorEdge 3320 SCSI arrays

    Hello All, I read in the "Sun StorEdge 3000 Family Installation, Operation and Service Manual" that it's possible to setup "two servers with redundant connections" but I never see a detailed schema to do this. I read also the "Best Pratices Guide" bu

  • Xcode freaks out when I switch C++ project to 10.3.9 SDK

    I have a very simple program in a .cpp file in a command-line project that can build for 10.5, but I wanted to make this project build for the oldest version of OS X that's reasonable. So I went into the Project configuration and simply chose the Bas

  • ISetup/Setup Manager issues with 11.2.0.2 DB version

    Hi All, This is Hari Prasad Alla from iSetup development team. Recently we have identified few issues around Transformation and Comparison Reports for the customers who have upgraded their DB to 11.2.0.2 version. I have consolidated the issues below