New topic: Keydown firing twice???
<http://forums.realsoftware.com/viewtopic.php?t=45840> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message waveuponwave Post subject: Keydown firing twice???Posted: Wed Nov 07, 2012 6:11 pm Joined: Fri Jan 29, 2010 12:39 pm Posts: 865 Location: Virginia, USA I am using the keydown event of a window to catch an enter press and execute some code. The trouble is every time I hit enter it fires twice? Is there a better way to do this? Thanks. Here is my code I am executing on the window keydown event: Select Case Key Case Chr(13) Select Case intAddMode Case 0 ' Add new mode AddNow Case 1 ' Update Mode UpdateNow Case 2 ' Update search mode UpdateSearch End Select End Select _________________ RS 2011 r4 Enterprise on Win 7 Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
