Home Ask Login Register

Developers Planet

Your answer is one click away!

hdrz February 2016

Pascal ObjectListView

I have been working with a wxpython control called objectlistview which makes it very easy to list objects directly in the listview. Is there a control similar to objectlistview in object pascal (lazarus in my case)? I know how to attach an object to list, but its not the same, since the list/grid controls don't work directly with the objects.


Nested type February 2016

In a form just drop a TTIPropertyGrid from the package RTTI controls.

enter image description here

Then in the code you can assign what the grid has to display, for example the current form itself:

procedure TForm1.FormCreate(Sender: TObject);
  TIPropertyGrid1.TIObject := self;

Post Status

Asked in February 2016
Viewed 2,812 times
Voted 11
Answered 1 times


Leave an answer

Quote of the day: live life