Type-Ahead Combo

Mike Matthews omnis at lineal.co.uk
Thu Mar 19 15:51:32 EDT 2015


I am away this week and will send you info next week. 

Mike



Sent from my iPad


> On 19 Mar 2015, at 14:21, Mischa <mischa at omnislab.com> wrote:
> 
> Hi Mike,
> 
> Interesting - is there a trial download available?
> 
> Thanks
> Mischa
> 
> ---------------------------------------------------
>  T H E   O M N I S   L /\ B     www.omnislab.com
> ---------------------------------------------------
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: omnisdev-en-bounces at lists.omnis-dev.com [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Im Auftrag von Mike Matthews
> Gesendet: Mittwoch, 18. März 2015 22:13
> An: OmnisDev List - English
> Betreff: Re: Type-Ahead Combo
> 
> StudioWorks offers this functionality but from within the framework. Always difficult to disentangle features really. 
> 
> Mike Matthews
> 
> 
> 
> Sent from my iPad
> 
> 
>> On 18 Mar 2015, at 20:08, ADJob <mats at adjob.se> wrote:
>> 
>> Hi Mischa,
>> 
>>> On windows, it displays the system classes, regardless which key is entered
>>> - is this on purpose?
>> 
>> Yes. System classes is loaded in $construct as iv_LIST_SOURCE as demo. Load whatever you want.
>> 
>>> Ok, now I understand - the demo searches for *any* occurrence of the entered
>>> string within the list strings:
>> 
>> Yes. If the list is a combination of codes and text, you can search both code (normally in the beginning) text  (normally ”any” occurrence) to load the code.
>> 
>>> So to fill the list with strings *starting* with the entered values you
>>> would need to do something like
>>> 
>>> Do
>>> iv_LIST_SOURCE.$filter(left(upp(pv_CONTENTS),upp(iv_LIST_SOURCE.c1))>0,kTrue
>>> )
>> 
>> It might be very useful sometimes.
>> 
>>> One little problem I encounter is that clicking the down button does not
>>> display the full list.
>> 
>> Fixed if you download again:
>> 
>> http://www.adjob.se/download/typeaheadcombo.lbs.zip
>> 
>> Note that this combo also is useful within complex grids. You do not have to play with lists within lists.
>> 
>> /Mats_____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list