Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difference in combobox behavior depending on source
Message
 
 
To
21/10/2005 13:42:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01060796
Message ID:
01061205
Views:
14
>By design.
>This happens only with Style = 2.
>Logic is this:
>- the program code is always right,
>if the list is free (0,1,5) and a value is loaded in value
>from program (set Value directly or with Controlsource)
>then it means that the program proposes a valid value,
>as the Combobox has only a value if ListIndex>0,
>VFP creates a temporary Listindex for you.

Hi Fabio,

It looks to me that this happens only with recordsource value or array. If you have rowsource as alias, the blank value is not added.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform