[Lazarus] ValueListEditor: feedback needed from Delphi users

Bart bartjunk64 at gmail.com
Wed Feb 27 19:04:03 CET 2013


On 2/27/13, John Landmesser <JohnML at online.de> 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




More information about the Lazarus mailing list