Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box - Control Source vs RecordSource?
Message
De
12/12/2006 22:44:13
 
 
À
12/12/2006 22:40:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01177044
Message ID:
01177049
Vues:
12
Thanks. I was really going to lose it if my understanding of combo boxes was so far off :)

>Your interpretation sounds reasonable to me.
>
>The search is done in the data fetched from the RecordSource.
>
>The selected value (which may be in a visible or in an invisible column, BTW) is stored to the ControlSource.
>
>>As a newbie I have really been struggling with getting a combo box control to work in a grid. My major problem is that the combo's dropdown list closes as soon as I type any character (well, within a fraction of a second). This makes incremental searches a tad difficult :) While Googling, I came across a MS KB article # 166378, which states:
>>
>>"The combo box control has an Incremental Search property that, when set to true (.T.), searches the Control Source of the combo box with each keystroke."
>>
>>I thought it searched the ROWSOURCE, no? Maybe it was just poor wording in this article, and they really meant RowSource?
>>
>>My understanding is that the ControlSource is the field/data object to which the control is bound.
>>
>>TIA
>>
>>-Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform