Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox in Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00502467
Message ID:
00502629
Vues:
24
>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,

Just to make things a bit easier for any lurkers, the article ID is Q156771.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform