On 2/27/13, John Landmesser <[email protected]> wrote:

> Per default property Keyoptions is empty and nothing  happens pressing
> insert, delete ...
> You can only select the value and edit it.

Same in Lazarus



> If property keyoptions is [keyEdit,keyAdd,keyDelete,keyUnique] and you
> press Control plus keyDelete, the whole line is deleted. Doesn't matter
> which column is selected!

So, you must press Ctrl+Delete? (Delphi DocWiki says Delete, which
IMHO is rather odd).

>> - Does it happen if the user is editing the cell (if keyEdit is set)?
> YES !!!

OK

>> keyDelete: the Embarcadero docwiki does not specify: must keyEdit be
>> set in order to set keyDelete (like it is, for keyAdd)?
> keyDelete can  be set, even if keyedit is false !

Strange, but I'll make it so.

>> keyAdd: if the user presses Insert, an empty row is added.
>> (first attempt at implementing this in r40418)
>> - if you are in an empty row, does it still insert a new one?
> No !
> You just hit the insert key and get ONE new row next to current row.

OK, just like Lazarus behaves now.


Thank you very much for your feedback!!

Bart

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to