Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing memo in grid
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01365156
Message ID:
01365264
Views:
14
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform