Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field in grid
Message
 
To
29/06/1999 16:06:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00235295
Message ID:
00235674
Views:
23
Jack,

I gave you the quick and dirty answer to your specific question but let me expand by saying I wouldn't do it this way. There are quite a few approaches you can take but here are a couple:

1. If space permits, place an editbox beside the grid with it's .ControlSource set to the memo field. In the grid's .AfterRowColumnChange Event place code to Refresh the editbox.

2. This approach is the method I always use. I have a form class that contains an editbox and OK and Cancel buttons. In the grid I place a command button in the column for the memo. In the buttons .Click Event I instantiate the memo editor form class passing it the field name.

HTH

>>Actually I believe it's Ctrl+pgup (who knows, it may be both) and that was in a browse which still works in VFP. This also works in a grid. HTH
>>
>>>How do you open a memo field in a grid for editting? In DOS I remember Ctrl+pgdn working, but it doesn't seem to work in VFP.
>
>Now I see another problem with this, I have ctrl keys set
>for menu hot keys. I don't know if it would work with the hot keys but I am going to have to do some digging.
>
>Thanks
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform