Thanks Sir (Ben Combee)
For your information.
By the way I am using 4.1 SDK but
LstGlueSetIncrementalSearch  function is still there.
One more thing I would like to know though I really
dont know much of this c/c++ But just for knowladge

when I saw "List.h" 
in attr type search is defined as 

UInt16 search    :1; // set if incremental search is 
// enabled.

where in LstGlueSetIncrementalSearch  we are passing 
Boolean value as to set search on/off.
then why UInt16  :1;  and why not Boolean ??

Bye.



--- Ben Combee <[EMAIL PROTECTED]> wrote:
> 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/


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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