Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field odditity in the dynamically created grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00987955
Message ID:
00988091
Views:
45
>>That will happen if you use a textbox control in a grid for a controlsource that is a memo field. You need to use an editbox instead, and make sure you set the column's Sparse property to .F.
>
>I don't think I use special textbox control. I do replace textbox control with custom control, but I don't do it for memo fields. So it should use the regular textbox control.
>
>If I create a test form and just assign grid's recordsource to table with memo, double click works fine. I'm going to play with assigning column's controlsource in the design and run-time to see, what's causing this weird behavior.

You're correct. Under normal circumstances you can double-click on the memo field to display the contents. (I never use a textbox with a memo because I don't want the users to see the word "memo".)

Does the grid class you're using have any double-click code? Does it use BindEvent anywhere to bind the textboxes' double-click event to something else?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform