Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another apparent combobox bug in VFP5.0
Message
From
24/03/1998 11:59:43
 
 
To
24/03/1998 11:01:46
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00085808
Message ID:
00086710
Views:
41
-------------------------------------------------------------------------------
Sammie:

Thanks for your input.

I have scanned the array for the value. And in fact that works. The drawback is that if your set .value = array[x] you trigger the programmaticchange() event, which in this case I do not want to do. I also found that by using .ListItemId you can fetch the value from the array without scanning. Just set .value = aRowSource[.ListItemId]. Listitemid points to the position of the currently selected item in the itemlist. If your rowsource is an array, then the position of the item in the array has to be the same as the item's position in the combobox list. At least I have always found it to be so.

My current problem, however, is not that the value does not update. The value does update, it just does not display.

Thanks for the insight.

Jim
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform