[Lazarus] TValueListEditor example

Bart bartjunk64 at gmail.com
Sun Dec 15 23:51:14 CET 2013


On 12/15/13, Richard Mace <richard.mace at gmail.com> wrote:

> It is possible to make the "key" column read only?

Look at KeyOptions property.
If you exclude KeyEdit from it, the Key column will not be editable by the user.

You can set it in OI or by code:

ValEdit1.KeyOptions := ValEdit1.KeyOptions - [KeyEdit];

Bart




More information about the Lazarus mailing list