Type-Ahead Combo

Mischa mischa at omnislab.com
Tue Mar 17 20:01:28 EDT 2015


Ok, now I understand - the demo searches for *any* occurrence of the entered
string within the list strings:

  Do
iv_LIST_SOURCE.$filter(pos(upp(pv_CONTENTS),upp(iv_LIST_SOURCE.c1))>0,kTrue)

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
)

One little problem I encounter is that clicking the down button does not
display the full list.

Again thanks a lot
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 ADJob
Gesendet: Samstag, 14. März 2015 15:50
An: omnisdev-en at lists.omnis-dev.com
Betreff: Type-Ahead Combo

Hi,

Now and then there are questions on the list about type-ahead-searching. I
have never manage to do this in a simple way until now.

Below a link to a tiny 6.x library that uses a combo box and a smart list.
Originally developed by Tiger (I think), and enhanced by me.

http://www.adjob.se/download/typeaheadcombo.lbs.zip

FWIW,

/Mats_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list