Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd behaviour - Display width of combobox in grid
Message
De
22/11/2004 05:39:08
 
 
À
21/11/2004 21:19:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00963379
Message ID:
00963427
Vues:
7
Yes and yes.

>Have you got BoundTo = .T. and BoundColumn = 2 coded?
>
>good luck
>
>>Has anybody seen the following behaviour before?
>>
>>I have a combobox as the Active Control in a Grid. The Controlsource is set to a field that is 6 chars wide. The combobox is populated from an array with two columns of data returned from a SQL statement, column 1 is 30 chars wide, the second column is 6 chars wide, the same as the controlsource's field.
>>
>>The column is set as False for the sparse property. The initial display of the grid is as expected, the full width of the first column of the combobox displays (i.e. the 30 chars). However, as soon as the grid gets focus through a click, the display of the combobox gets shortened to the first 6 characters of the displayvalue. The only way I can get back to having the complete, and correct display is to close the form and reopen it again.
>>
>>As an experiment, I lengthened the underlying field's width to 10 chars, and lo and behold, I now can see the first 10 chars of the combobox.
>>
>>Any suggestions and thoughts most welcome!
>>
>>Thanks in advance.
>>
>>Andrew
On a CLEAR day you can see forever.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform