Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo Field in a Grid
Message
 
To
16/10/2001 09:52:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568983
Message ID:
00568992
Views:
25
>>I've got a form that we use in our program to get a raw look at the table (ie, as if you just type USE TABLE, and BROW). Well, we are using the basic Grid control, and found a small problem. You can't view Memo fields with it.
>>
>>We have the exact same functionality in the DOS version of our program, but there we just use a BROWSE command, which lets you do a CTRL+HOME to view a memo field.
>>
>>Since our Grid is used to view whatever files we want, it's very generic, and has no pre-defined columns (so I can't put code in the double click or key press of the textbox control that will display the contents on the memo field).
>>
>>Has anyone ran into this before? I'd imagine it's a rather rare problem, seeing as how you usually wouldn't use a grid to display memo data.
>>
>>TIA!
>
>To view-only (not edit) a memo field in a grid, use padr().
>
>
>.ControlSource = "padr(MyMemo, 100)"
>
>
>padr() will assure a constant width - otherwise, you get intro trouble.
>
>Hilmar.

Unfortunately I can't use this. Like I said in my original post, the grid doesn't have any predefined columns, and columns aren't created with code (Sorry, left that one out). I just "Use" the file, and then display the form. The Grid is setup so that it uses whatever is the active area, and builds it's own columns. I don't tell it which columns to use. See my dilemma?
Scott
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform