![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Its quite possible this has a really obvious solution, such as a simple pre-made control or library file but I figured I might as well ask.
I'm trying to make a 'live search' effect, for choosing the city option for a database app. Essentially the user should be able to start typing the first letters of the city they want, and the list of cities starts reducing based on what is typed. (Like what happens when you search on facebook )I've managed the basic effect fairly easily with a text box a list box and a table, where the list box reads the table which is filtered by the text box contents when you click a button. (Might make more sense if you look at the file). My problem is I want to do away with the button and have the table/list box filter as the text box is typed into. I originally tried this with text box key press event, but that updates the text box after the event has finished so it doesn't filter properly. I've attached a quick & basic version of the effect bellow to demonstrate what I mean: essentially the idea is to get rid of the button so it filters automatically. (If there is a really obvious way to do this or something very similar please mention it; I haven't looked much yet (I started this on my PDA and liked the challenge of this idea ) I'm just wondering if there is a way to do this in the way I've tried....)Last edited by Hennell : 04-24-2008 at 02:12 AM. |
|
|||
|
Hi Hennell,
One simple workaround is to make your own virtual keyboard image or buttons to trigger the input event as I found on some contact applications. see attached, sample demo(using buttons). Regards,
__________________
Rioven O2 Atom life 624MHz, 1GB Internal ROM, WM6(upgraded) Last edited by Rioven : 04-24-2008 at 06:23 AM. |
|
||||
|
Attached you find a solution that does what you are looking for.
Using Erel's Door library Door library (Beta) - Special library and using agraham's UpperCase example Uppercase ! Hope this will help you. Best regards
__________________
Klaus Switzerland |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing font type | mozaharul | Questions & Help Needed | 1 | 06-11-2008 06:29 AM |
| Video or Picture with Alpha over live camera? | realvision | Code Samples & Tips | 0 | 04-01-2008 12:12 AM |
| Cannot type in Device IDE | Leginus | Bug Reports | 3 | 02-03-2008 03:47 PM |
| How to get the PDA type and make | HARRY | Questions & Help Needed | 3 | 01-13-2008 11:19 AM |
| Another Reason for IntPtr Type | Louis | Basic4ppc Wishlist | 4 | 10-24-2007 06:17 PM |