New topic: 

ListIndex for ListBox not set from KeyDown, but set from oth

<http://forums.realsoftware.com/viewtopic.php?t=46065>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        HardyMachia          Post subject: ListIndex for ListBox not set 
from KeyDown, but set from othPosted: Wed Nov 28, 2012 11:28 am                 
        
Joined: Mon Dec 11, 2006 12:25 pm
Posts: 34                I give up on trying to figure this out. I'm using 
ActionBar's RemoveButton to delete current row of a listbox and that works, but 
if I call the same method to remove the row from a KeyDown the the listIndex is 
-1 and won't delete. Why would the listindex not be set from KeyDown, but is 
set from RemoveButtonPresses. Both are calling RemoveRow?



If RemoveButtonPressed calls RemoveRow it works.
If KeyDown calls RemoveRow it doesn't work.      
_________________
http://www.catamount.com 
PocketMoney for iOS, OSX, Linux, Windows, and Android  
                             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]

Reply via email to