Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box in a grid
Message
De
27/09/2002 07:14:41
 
 
À
27/09/2002 00:46:27
Rahul Murarka
Sys-Con Engineering
Kolkata, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00703146
Message ID:
00705139
Vues:
22
Hi Rahul.

the display in the grid for the country is showing 3 char e.g for India only Ind or England Only Eng.

You must set the InputMask of the column wide enough to accommodate the 25 characters. This is an old chestnut and is documented in MSDN:

PRB: DisplayValue of ComboBox is Truncated in a Grid

Q156771


--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Visual FoxPro for Windows, versions 5.0, 6.0

--------------------------------------------------------------------------------


SYMPTOMS
When a ComboBox is placed in a grid, the DisplayValue of the ComboBox appears truncated.



CAUSE
The DisplayValue is longer than the field to which the column is bound.



WORKAROUND
Set the InputMask property of the Column to the length needed for the DisplayValue.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform