Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 30 : Show Combo Box Default Value ???
Message
De
27/05/1997 10:49:12
 
 
À
27/05/1997 10:45:20
Willie Chen
Infowide Computer Trading
Penang, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00033689
Message ID:
00033690
Vues:
91
>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

Put folowing line:
This.DisplayValue="....." && type default value here
in Combobox Init event.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform