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:
01365347
Vues:
18
>>>>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 suspect there is some little thing you aren't noticing. Are you positive the data sources and columns are paired up right? If you aren't viewing the Properties sheet with non-default properties only, try turning that on and viewing each grid column (column object and also the control stored in it) in turn. I bet something jumps out at you.
>
>This is something new to me. I have never run a code in debugger with a Property sheet open at the same time. I didn't know you can do that. I will try though. Thank you.

I didn't mean in the debugger but in the designer. I suspect you have the wrong datasource assigned to the wrong grid column.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform