Subject Re: [IBO] TIB_Grid InPlaceEditor Logic
Author Geoff Worboys
>> Are you happy with gnOnEditDoEditClick set to disabled now in your
>> application - or did you still want me to take a look at supporting
>> both gnOnEditDoEditClick and AlwaysShowEditor as enabled ??

> Yes please. I for one would greatfully appreciate having both
> available.

I guess the first question is; have you seen how this problem is
avoided with the build-in memo editor? That is; when the memo editor
dialog exits and both gnOnEditDoEditClick and AlwaysShowEditor are
enabled then the function simply tabs backward or forward (depending
on the memo result).

I am hoping that you think this is an acceptable work around (since I
cannot think of any other way to resolve the problem).

Given that you do accept the idea, I propose to make a public function
on IB_Grid which will simulate the tab-forward/backward as you see
with the existing ShowMemoEditor function. The idea being that you
would call that function from your own code if your particular setup
experiences this problem.

I thought about embedding automation directly within the event handler
code, but that opens risks of problems when the OnEditButton event
does other things.

Does this sound OK?

--
Geoff Worboys
Telesis Computing