Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo Field in a Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568983
Message ID:
00569011
Views:
41
>>>>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
>>
>>You are absolutely correct, it is the default action. Hrm. Is there a SET command that will turn that off? I created a completely new grid on my form, and ran the program, and the double click doesn't work. But it worked fine on my test form that was outside of the program. I must have some SET command turned on or off that disables the double clicking on Memo fields.
>>
>>Any ideas?
>>
>>Thanks!
>
>Are you sure, that each column is not disabled?

Absolutely certain without a doubt. Turns out it wasn't working because the form was set to Modal.
Scott
Previous
Reply
Map
View

Click here to load this message in the networking platform