Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with value selection in combobox (dropdown list)
Message
 
To
10/04/2008 10:14:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01309660
Message ID:
01309698
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform