Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox in Grid
Message
De
02/05/2001 10:06:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Combobox in Grid
Divers
Thread ID:
00502467
Message ID:
00502467
Vues:
63
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,
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform