Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox in a grid
Message
De
06/03/1999 08:09:49
 
 
À
05/03/1999 06:59:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00194371
Message ID:
00194817
Vues:
20
David,

Thanks again. I have it working ok except I need to put the value that I choose from the combo box into the current field after I select it from the combo box.

LOCAL lnColCnt, lnCnt
lnColCnt = This.ColumnCount
lnCnt = 1
FOR lnCnt = 1 to lnColCnt
* Find the column for the RodId
IF UPPER(This.Columns(lnCnt).ControlSource) = "RODID"
This.Columns(lnCnt).Bound = .F.
This.Columns(lnCnt).AddObject("cboRodId", "COMBOBOX")
This.Columns(lnCnt).CurrentControl = "cboRodId"
This.Columns(lnCnt).cboRodId.Visible = .T.
This.Columns(lnCnt).Sparse = .T.
This.Columns(lnCnt).cboRodId.RowSourceType = 6
This.Columns(lnCnt).cboRodId.RowSource = "Rod.RodId"
ENDIF
ENDFOR
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform