Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box in a grid
Message
From
27/09/2002 07:14:41
 
 
To
27/09/2002 00:46:27
Rahul Murarka
Sys-Con Engineering
Kolkata, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00703146
Message ID:
00705139
Views:
20
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform