Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo Field in a Grid
Message
From
16/10/2001 09:55:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568983
Message ID:
00568991
Views:
44
>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!

Scott,
Normally you don't need to do anything special if dblclick satisfies you. When content is memo or general default grid dblclcik action is to open it in window.

You could do a few things alternatively :
-Instead of textbox use an editbox control for memo field.
-Place editbox controls on form for memo fields and afterrocolchange refresh.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform