Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-12

ValueListEditor column width

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bart
to Richard Mace
Richard Mace wrote
Hi, Is there any way of programmatically reading and specifying what the "key" column width is in a ValueListEditor?

Should be no different than for any other grid:

Get
  W := ValEd.ColWidths[0];
Set
  ValEd.ColWidths[0] := W;

Bart

Reply by email

Richard Mace
to Bart

Hi Bart,

Bart wrote 15 lines
On 12/29/13, Richard Mace wrote: > Hi, > Is there any way of programmatically reading and specifying what the "key" > column width is in a ValueListEditor? Should be no different than for any other grid: Get W := ValEd.ColWidths[0]; Set ValEd.ColWidths[0] := W;

That's great. Just what I was looking for.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131230/35e7a2af/attachment.html>

Reply by email