Hi All,
Please could someone give me an example of how to programmatically add
column and then items into a TValueListEditor?
Thanks
Richard
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/lis
Hi,
> Please could someone give me an example of how to programmatically add column
> and then
> items into a TValueListEditor?
You cannot (maybe you can, but you really should NOT) add colums to
TValueListEditor.
It will always have exactly 2 colums by design.
Adding items isn't that hard.
Th
Bart,
Many thanks for your reply, it's starting to make sense now :)
It is possible to make the "key" column read only?
Richard
On 15 December 2013 14:59, Bart wrote:
> Hi,
>
> > Please could someone give me an example of how to programmatically add
> column and then
> > items into a TValueLis
On 12/15/13, Richard Mace 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
--
Hi Bart,
Many thanks for your reply.
On 15 December 2013 22:51, Bart 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.
>
I've done that, but it is still editable?
Hi Bart,
Yes, all working in Trunk
Thanks for all of your hard work.
Richard
> >> If you exclude KeyEdit from it, the Key column will not be editable by
>
> > I've done that, but it is still editable?
>
> Works for me in trunk.
>
> I have attached a test suite I use for development of ValEdit.
On 12/17/13, Richard Mace wrote:
> Hi Bart,
> Yes, all working in Trunk
Good to hear.
> Thanks for all of your hard work.
Glad to be of help.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/