Page 1 of 1

Find and ListBox Question

PostPosted: Fri Apr 15, 2016 12:47 am
by StarterPack
Hi guys

When i use the "Find" Function to find something in a ListBox. or ("This Page Only") It highlighted the founded text.
What script can i use to automatically loaded the highlighted text into a EditBox?
and if it doesn't find anything it must clear the previous highlight
Thank You

Re: Find and ListBox Question

PostPosted: Fri Apr 15, 2016 9:43 am
by dpayer
Try this:
Code: Select all
ListBoxGetItem "ThisListboxName" "[ThisListboxSelected]" "[FoundItem]"
InputBox "Edit Item" "Edit entry" "[FoundItem]"
ListBoxChangeItem "[ThisListboxName]" "[ThisListboxSelected]" "[Founditem]"
SetVar "[ThisListboxSelected]" ""


And thanks for giving me an idea for my listbox function found here.