Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox in Grid
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00502467
Message ID:
00502491
Views:
20
>Hi All,
>
>It appears there is a problem with ths combobox contrrol in a grid under the following circumstances:
>
>1. The combobox is multi-column.
>2. The first column is displayed, a second bound to data. (BoundColumn > 1).
>3. If the bound column is numeric, BoundTo is .T.
>
>This is a typical configuration when the value to be displayed is a lookup for the field value stored in column 2.
>
>The effects reported repeatedly in the UT and duplicated in our experiments are:
>
>1. When the grid is first shown, the content of the first combobox column is displayed correctly in the grid column.
>2. If the user mouseclicks on the column to select a cell, the display is sometimes, but not always, truncated to a few characters. Ths appears to be related to the width of the field bound to column 2
>3. If a selection is made in the combobox, ListItemID is set to zero, and the display is blanked.
>
>The RowSourceType seems to make no difference. We have experimented with an array and native type (RowSourceType = 0).
>
>If anyone has made this arrangement work, I would appreciate knowing how.
>
>Thank you,

I believe I had similar thing working with no problems, (don't have that app code here right now), but my combos were bound to lookup table.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform