Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox in Grid
Message
From
02/05/2001 13:30:13
 
 
To
02/05/2001 10:06:12
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00502467
Message ID:
00502625
Views:
16
Hi James.

>>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. <<

Set the InputMask property of the Column to the length needed for the DisplayValue.

This behavior is documented in the Knowledge Base. Check out:

PRB: DisplayValue of ComboBox is Truncated in a Grid

FWIW, the article states that this behavior is by design.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform