Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>>>>Haven't had to create one from scratch in awhile. How do I force the initial display value of the ComboBox? It's based on a SQL and displays a field value. I want to choose which record is the default and then have that show up when the form is run. Thanks!
>>>
>>>You may try thisform.myCombo.ListIndex = 1 in the Init method of the form.
>>>
>>>You may also first select the needed record and then thisform.myCombo.value = thisform.myCombo.value
>>
>>That worked, but why? I set that as the default on the property form? Seems like that should have been enough.
>
>What exactly did you set as default?
>
>ListIndex you can only set in code, I think.
Let me rephrase that, ListIndex is already set to 1 as the default.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement