Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing memo in grid
Message
De
02/12/2008 19:04:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01365156
Message ID:
01365259
Vues:
16
>>Hi,
>>
>>I added a memo field to a grid. The grid is initialized on-the-fly based on values in a resource file. The problem I have is that only first 10 characters of the memo field are showing in the grid column. I did remove object Test1 and replaced it with EDITBOX. And the width of this column is wide enough to show the content of the memo. And I see the EditBox with a vertical scroll bar. And I know that the cursor does have the memo field with entry longer than 10 characters.
>>
>>What can be preventing the grid from displaying the entire content of the memo field?
>>
>>Thank you in advance for any suggestions.
>
>
>I found what is causing this odd behaviour but don't know yet how to solve it. I traced the problem to the following. As I mentioned, the grid is being built on-the-fly from a resource (.dbf) file. And if a column right before the Memo field column has 10 characters in length, the Memo field column is limited to show only first 10 characters of the Memo field. I tried to change the columns around and it does not matter. If the field in the column before the Memo column is 2 char length, memo field is only showing 2 characters. The only way I can make the memo showing completely if the field of the column right before the Memo column is a numeric type.
>
>Any suggestions to how fixing this?
>
>Thank you again.

I'm not sure how to phrase this properly but.........................

As you are building the grid, when you come across the memo field can you build an additional column with a numeric controlsource and a visible property of FALSE?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform