Source language: Translate to:

Find and ListBox Question

General questions about NeoBook

Moderator: Neosoft Support

Find and ListBox Question

Postby StarterPack » Fri Apr 15, 2016 12:47 am

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
StarterPack
 
Posts: 115
Joined: Fri Feb 19, 2016 6:55 am

Re: Find and ListBox Question

Postby dpayer » Fri Apr 15, 2016 9:43 am

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.
David Payer
Des Moines, Iowa
USA
User avatar
dpayer
 
Posts: 1382
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron