Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unruly Combo Box
Message
De
10/11/1997 13:36:28
 
 
À
10/11/1997 08:13:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00059222
Message ID:
00059329
Vues:
40
>>I have, by now , written several programs in VFP and used a lot of combo boxes. All of a sudden, in my latest venture, none of them are working properly. Here are the symptoms: If I run a form, press the Edit button, and go straight to the combo box, it will not "keep" any selection I make from the drop-down box (the Style property is 2--Drop Down List). If, however, I poke around on the form and go back to the combo box, it functions just fine. Or, if I type the first letter of the desired choice, it works fine (sometimes). I just cannot select from the drop-down box. Instead, the combo box remains empty and, if there happens to be a control "underneath" the selection that I click on, focus is shifted to that control. It is as if the drop-down list doesn't exist. This behavior happens whether I use my sub-classed control or whether I use the VFP standard control with no custom methods at all. It also happens , irrespective of how I fill the combo box.
>>
>>Anybody out there seen anything like this? I don't know where else to look and would really appreciate some clues.
>>
>>TIA.
>>
>>John
>Hi John.
>
>What are the ControlSource and RowSource for the Combo?
>
>Marcia

Marcia:

Thanks for kicking in here. The ControlSource is a field in a table in the DE. Bound is .T. The RowSource is a field in another table, also in the DE. To be specific, I have a table of colleges that is the RowSource; I want to stamp the selected college into the Student.College field (the ControlSource). Any idea what I might be doing wrong?

Thanks again . . .

John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform