Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent input in ComboBox control ?
Message
De
24/09/2013 21:18:29
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
À
24/09/2013 12:58:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01583994
Message ID:
01584051
Vues:
49
Hi,

the combBox is Read only,
Enabled = .t.
Style is 2- Drop down List
BoundTo = .T.
RowSourceType = 3

The code as follow
thisform.cboInvNo.ControlSource = "invoice.invno"
thisform.cboInvNo.RowSource = "select invoice.invno from invoice into cursor cboInvNo"
thisform.cboInvNo.ListIndex = 1
Which area wrong ?
Please advise.
Thanks.
Derek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform