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

I don't know of a set command that would disable it. Grid might be a subclassed grid with code controlling it or something like a container in front of it ?
Also Ctrl+Home, Ctrl+PgDown or Up open memo window (only set command comes to mind is 'set window of memo to ...'
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