Klexen Posted October 27, 2008 Posted October 27, 2008 (edited) I'm trying to get this to be dynamic... I want to replace the three lines of code "$ltext[0] = etc... With something that basically gets the text of however many items are in the listbox and add them to the array. Because I don't know how large the array is going to be... Hard to explain what I'm trying to do, hopefully you understand by looking at the code I've written. $arraycount = _GUICtrlListView_GetItemCount($hlist) $find = InputBox("Testing","Test") Local $ltext[$arraycount] $ltext[0] = _GUICtrlListView_GetItemText($hlist,0) $ltext[1] = _GUICtrlListView_GetItemText($hlist,1) $ltext[2] = _GUICtrlListView_GetItemText($hlist,2) $result = _ArraySearch($ltext,$find,0,0,0,1) _GUICtrlListView_ClickItem($hlist, $result,"left", False, 2)oÝ÷ Ø×¯z¹¢Ò«yØ¢ëZºÚ"µÍIÌÍÚÝHÛÛÛÙ][J ÌÍÚÛ ][ÝÉ][ÝË ][ÝÔÞÓÝY]ÌÌI][ÝÊBRYÜ[Ñ^]ÛÜ ][ÝÑZ[YÈÙ][HÈÝÛÛÛ][ÝÊBIÌÍØ^XÛÝ[HÑÕRPÝÝY]×ÑÙ]][PÛÝ[ ÌÍÚÝ BIÌÍÙ[H[]Þ ][ÝÕÝ[É][ÝË ][ÝÕÝ ][ÝÊBSØØ[ ÌÍÛ^ÉÌÍØ^XÛÝ[BIÌÍÚHHQÂIÌÍÛ^ÉÌÍÚWHHÑÕRPÝÝY]×ÑÙ]][U^ ÌÍÚÝ ÌÍÚJBIÌÍÚHH ÌÍÚH ÈBU[[ ÌÍÚHH ÌÍØ^XÛÝ[IÌÍÜÝ[HÐ^TÙXÚ ÌÍÛ^ ÌÍÙ[JBBWÑÕRPÝÝY]×ÐÛXÚÒ][J ÌÍÚÝ ÌÍÜÝ[ ][ÝÛY ][ÝË[ÙK Edited October 27, 2008 by Klexen
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now