Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Use Memo In Grid EditBox Without MEMO Label
Message
From
25/04/2000 09:37:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362939
Message ID:
00363116
Views:
15
James,
Take a look at yesterday's (or the other day - I'm not sure) messages. I can't remember the title but it was about showing BMP, JPG, GIF in a grid. trick is to use a Dynamic* property.
When a framework kicks in things might change. In init of grid might try to add code :
local lRetVal
lRetVal = dodefault()
this.myColumn.CurrentControl = "myEditbox"
this.myColumn.Sparse = .F.
return lRetVAl
Cetin

>Hi Cetin:
>
>I'm finding out the problem is a framework we are using. When I use native VFP 6.0 no problem.
>
>Have you got any insight on using an ActiveX RTF editor in a grid as a control source for a memo field. Even in native FP I can only get the row with the focus to show text.
>
>Thanks,
>Curtis
>
>>Hi James,
>>Are you sure CurrentControl is Editbox. Is it a cursor or table. If a cursor what's the original Recordsource and Recordsourcetype settings ? And is it a base class grid or subclassed ?
>>Cetin
>>
>>
>>>Hi David,
>>>
>>>Well I hadn't, but I did and still no luck.
>>>
>>>
>>>>James,
>>>>
>>>>Did you delete the Text1 control from the column?
>>>>
>>>>>I want to use a memo field in a grid displayed in an editbox and I want to see at least the first line of text for every record displayed in the grid.
>>>>>
>>>>>When I run the form, only the record that has the focus displays text. The other grid rows display "MEMO"
>>>>>
>>>>>I have the column CurrentControl set to the editbox; I have the Column and Editbox controlsource set to the memo field; I have the column sparse property set to false; I have the grid rowheight set high enough to show two lines of code.
>>>>>
>>>>>What else is there to know?
>>>>>
>>>>>Thanks in advance for your help
Ç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