2014년 11월 30일 일요일

Help with Creating a search box

Hello, I am making a program that would be a lot easier to navigate with a search box. So without further a due I would like to ask for help creating this. The search box would search for anything in the program that contains the words searched, like 'Sony' per say. But, would it be possible to exclude button names? If so that's what I would need done so its just looking for labels.



Not possible to search for key words within the App Inventor Chris.  To add this capability :  http://appinventor.mit.edu/appinventor-sources/  , App Inventor is OpenSource.   The forum where MIT development is discussed is  https://groups.google.com/forum/#!forum/app-inventor-open-source-dev       If you got the skills, the Development Team is welcoming.



Thank you, but the sources is the code? If I made a list with all of the possible search terms but, will it list all the possible results?



Here is a solution from Spider Pig he posted in this link  https://groups.google.com/forum/#!searchin/mitappinventortest/search$20for/mitappinventortest/wIsHw46kCmU/jV9r_NuYpycJ




It might work for you.   It also might be possible to filter in a ListView using the FilterBar property.
And perhaps, even easier is to use the List block    is in list?   to find out if a text string is in the list  in conjunction with other list tools like select list item or others.

Your friend might be the advanced blocks where you can actually query what is in buttons (but you do not want to do that) or labels.

Try some blocks.   Only you know if this stuff is suitable for your purposes Chris. When you get something that works, let others know how you did it here or if you run into a road block, return, post some blocks and ask again.



Thank you, I will look into this and update you as I need help!

댓글 없음:

댓글 쓰기