Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with value selection in combobox (dropdown list)
Message
 
À
10/04/2008 10:14:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01309660
Message ID:
01309698
Vues:
20
>And it doesn't only when I want to select first value - sometimes values is not changing - is it a bug of VFP?
>
>I have never run into this problem.
>
>How is your combo box set us? RowSource, RowSourceType, BoundColumn, BoundTo, ControlSource?


ADD OBJECT cmbpirkejas AS mcf_combo WITH ;
BoundColumn = 2, ;
ColumnCount = 1, ;
BoundTo = .T., ;
Name = "cmbPirkejas"


PROCEDURE cmbpirkejas.Init
SELECT SPACE(70) AS pavad, SPACE(7) AS kod FROM organizac ;
UNION ;
SELECT pavad, kod FROM organizac ;
ORDER BY 1 ;
INTO CURSOR cMok

This.RowSourceType = 2
This.RowSource = "cMok"
This.Value = cMok.kodas
ENDPROC

PROCEDURE cmbpirkejas.Valid
ThisForm.requery_grid()
ENDPROC



I saw this bug working over a Remote Desktop connection and working directly
Giedrius
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform