Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox in Grid
Message
 
To
19/02/1999 12:33:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00189356
Message ID:
00189513
Views:
15
Geoff,
Welcome the strange and wonderful world of grids:

1. Have you requeried the combo box after assigning the array as the rowsource?

2. Check the 'activecontrol' property - you may want to shift from combo to textbox when the cell doesn't have focus. Also, you may need to add the item to the array in the WHEN method. If this is the case, you may be better off with a cursor instead of an array that needs to be resized.

3. That's a weird one - VFP has something strange with this. Go to the grid properties and check "Highlight Row" to FALSE. Also, it won't happen if you have a dropdown LIST instead of COMBO.

HTH
Barbara

>Hello-
>
>I am trying to have a combobox in a grid with no avail. The combobox is populated from an array so I have rowsource set to the array name (vex_arr) and the rowsourcetype set to array.
>
>I am having a couple of problems that may be related. First, when I drop down the combobox nothing appears. Second, I need to allow the user to enter a value that may not be in the list. If the user enters a value not in the list, it disappears. Last but not least, only half of the font shows in the combobox (height).
>
>Thanks for your help and it is much appreciated-
>
>Geoff
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform