Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
VFP 30 : Show Combo Box Default Value ???
Hi,
I have a question on Combo Box, hope u can help me.
what i have ...
I have designed a form which contain a combo box - myComboBox.
- myComboBox is a Custom ComboBox, 2nd Level.
- there are 3 options (pre- define value) in myComboBox.
- there are 2 columns; First is Shown to User, Second is Hide.
What's in myComboBox - property ...
.BoundColumn = 2
.ColumnCount = 2
.ColumnWith = 250,0 ; display 1st column only.
.RowSource = Column 1a, Column 2a, Column 1b, Column 2b, Column 1c,
Column 2c
.RowSourceType = 1 - Value.
What I need ...
- is for myComboBox to Display the first row of data as default Value.
that is, when the form is executed. myComboBox Should Show
"Column 1a" as default selection.
What's my Question ...
- How to get myComboBox to display the *Default* Value I Need ?
thx for your help, hope i make myself clear ...
willie
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