Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox lookup on InteractiveChange() event
Message
 
 
À
15/10/2003 08:56:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00838842
Message ID:
00838858
Vues:
21
Don,
Combos already have incremental search functionality built into it. Set the IncrementalSearch property to .T. to turn it on. The issue with this is that users must type relatively quickly to get the search to work. The time between keystrokes can be set using the _DBLCLICK variable (prior to VFP 7) or _INCSEEK (VFP 7 and beyond).

See VFP Help for _INCSEEK for more information.

HTH.

>I have a ComboBox in my form:
>
>BoundColumn: 3
>
>BoundTo: .T.
>
>ControlSource: dd_lar.lr_projid
>
>RowSource:
>SELECT pj_pcode, pj_title, pj_id FROM dd_proj ORDER BY pj_pcode into cursor projlist
>
>RowSourceType:
>3 - SQL Statement
>
>
>
>pj_pcode looks something like: LCAC41SA92, LSD43PMA90, etc...
>
>I want to be able to type in 'LS...' and have Index (item) to move
>from 'AGF...' to 'LCA...' to 'LS...'.
>
>How do I code this?
>
>Don K
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform