Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box on form without open table issue
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Combo box on form without open table issue
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01314170
Message ID:
01314170
Views:
62
Hi,

I came across the following problem:

I have a combobox with RowSource set to array. The combobox is NOT bound to any field of a cursor or table.

What happens is that if the form where this combobox is places has a cursor to which some other controls are bound, the combobox show the pull-down of values. But if I open the form without the cursor and the form.BindControls is set to .F., the combobox is empty (clicking on pull-down shows no elements). Even though the combo is not bound to any field of the cursor.

I check in the debugger that the array of the RowSource does indeed have valid elements with values.

What could be causing this problem?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform