Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement