[Lazarus] ValueListEditor: feedback needed from Delphi users

Bart bartjunk64 at gmail.com
Tue Feb 26 19:03:43 CET 2013


Hi all,

I'm currently working on the ValueListEditor.
I have some questions on the behaviour of the KeyOptions property that
I cannot find an answer to, simply because my Delphi is too old, and
it does not have a TValueListEditor at all, and the Embarcadero
DocWiki (http://docwiki.embarcadero.com/Libraries/XE3/en/Vcl.ValEdit.TKeyOptions)
doesn't provide clear answers either.

So, for anyone that has a recent Delphi here are my questions:

1)
keyDelete: "The user can delete the selected name/value pair by
pressing the Delete key."

When does this happen.
- If the user presses Delete in "key" column, or also in "value" column?
- Does it happen if the user is editing the cell (if keyEdit is set)?

2)
keyDelete: the Embarcadero docwiki does not specify: must keyEdit be
set in order to set keyDelete (like it is, for keyAdd)?

3)
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?

Please only provide answer obtained by "black box" testing. Just build
a Delpi app and see how it functions.
Do NOT, I repeat do NOT, look at the Delphi source code.
Our implementation needs to be clean.

Thanks in advance.

Bart




More information about the Lazarus mailing list