Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing memo in grid
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01365156
Message ID:
01365276
Vues:
20
>>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.

In the interest of providing help to others who might come across this issue, the solution is in this message:

Re: Error at Grid.Column.AddObject Thread #1365213 Message #1365235
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform