Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox question
Message
From
11/12/2008 22:53:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Combobox question
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01366823
Message ID:
01366823
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform