>Hi Cetin,
>
> Yesterday I also tried to solve this problem (adding nCurrentRecord property to the grid and to your editbox and putting go nCurrentRecord into grid.click method). Nothing helped :( The problem is (as I understand it), that we can not identify on which control we click outside the EditBox. So, I have an impression, that there is no workaround besides API functions and determination of exact place and exact control, which was clicked...
>
> There is another problem with your editbox in a grid. Normally, I can navigate using Up/Down arrows between records. If I'm in EditMode (Grid is ReadOnly) and memo field is empty, it doesn't expand (which is good), but it doesn't allow me to navigate using KeyBoard, only mouse click.
>
> All these problems, I'm afraid, would prevent me of using this really nice and helpful editbox in a grid. I let my colleague to make final decision here.
>
> Thanks for your help.
>
> BTW, multiselectgrid is another your great class, which I discovered recently and successfully used for my own purposes (see example here in UT files section).
>
Hi Nadya,
I really don't even remember for which app I wrote it for. I use another modified version for a recent app. It expands only if not already at least 2 lines height and at least n width. It doesn't expand to fill up its container but to a defined size. In grid it doesn't play with height&width at gotfocus but just sets the grid rowheight at least twice of default in init (if cb_expand = .t. - default).
I promise to send you a "working" one if I ever find time and succeed :)
Cetin