At 22:14 2003-1-23 -0800, you wrote:

Hi all

I am new to this Developer Forum. If anywhere I am
going wrong, let me know.

Problem :- I have a popup list In which I am
displaying a "code" one of the field from my
"Supplier" table. and the end user supposed to select
the code from the List.

Total Number of visible items (List ) = 3.

and there are almost 50 code in a list. and it is not
at all fisible to scroll the list to the end just to
select the code which starts with charactor "Z"
therefore I want to get keyDownEvent so that I can
capture the charactor and then can use

LstSetTopItem function and can display him the code
that starts with the charactor "Z". (Same thing is
there in Palm OS app  "Prefs" ---> Set Time Zone where
you can select the contry by using the Graffiti)
LstGlueSetIncrementalSearch in the Palm OS 5 SDK. Use it to set the "search" flag on the list attached to the popup selector, and the OS will take care of jumping to the right character.

BTW, in a popup list, it is preferred to make the number of visible items as large as possible (usually 11), since there's no point to just showing a few items and making the user scroll a lot.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to