forum-msg-id-134656-edit

Original date:2019-11-05 08:13:32 Edited by: irv Subject: Re: Need A Quick Fix

Icy_Viking said...

Thanks for all the help guys. It was a slight oversight on my part. I have it fixed.

procedure Remove_Game(integer self, integer event, sequence parm) 
 
	deleteItem(Game_List,1)  
	 
end procedure 
setHandler(Game_List_Remove,w32HClick,routine_id("Remove_Game")) 

Note: the code above will always remove the first item, if you want to remove the selected item, you need to get the selection by calling

getIndex(Game_List) 

You could try doing it as follows, but should test to see what happens when no item is selected.

 
	deleteItem(Game_List,getItem(Game_List))  
 
Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu