>Hi Bruce,
>
>Now I don't like an idea to use "EditBox" after several attempts - it looks ugly. Now I turn to another idea, but I don't know how to realize it. My idea is - if the type of field is Memo, put some code in DblClick method of this column - modi memo... But, I don't know how to put this code, because I create my grid in grid Init method. So, how can I do this?
>
>>Well, not real complex, but some changes would be needed...you could use a View based on the table, set the grid source to the view. In the view, you could add 3 char fields to display the Y/N based on the logical field values...then when a Y/N was changed, you would update the corresponding logical field...not real simple, but that's one idea...
>
> Actually, we decide that the grid is ReadOnly, so I just want to display Yes instead of T I beleive there is a simple solution.
You may put a controlsource of mline(the_memo,1) to the standard textbox - it would become read only, as a calculated field should, and then you may have something like
modify memo the_memo
this.refresh
in theform.thegrid.columnX.textbox1.doubleclick method. If you want to make it read_only, you may
modify memo the_memo NOEDIT