Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox question
Message
De
11/12/2008 22:53:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Combobox question
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01366823
Message ID:
01366823
Vues:
55
This problem is so basic that I can't believe I can't find the answer on my own.
I have this combobox defined.
define class CboDepHow as CboList
    name                = "CboDepHow"
    ColumnCount         = 2
    columnwidths        = "30,120"          && 1 col and 8 cols (col = 24 pixels)
    inputmask           = "XX"
    rowsource           = "CA,cash,CC,credit card,CK,check,ND,no deposit"
    width               = 2 CBO_12 + 20
    incrementalsearch   = .F.
    style               = 2
    statusbartext = "How the deposit is paid:  CA-cash, CC-credit card, CK-check, ND-no deposit"
    tooltiptext   = "Deposit code: CA, CC, CK, ND"
enddefine    && CboDepHow  *************************************************
My problem is that as soon as I type a "C", the control matches the first list item (CA) and goes on to the next control. I've tried setting IncrementSearch on and off. I've tried adjusting the value of _Incseek.

How can I require an exact match?

Peter
Peter Robinson ** Rodes Design ** Virginia
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform