Sign in Join
Wiki copytemporary

TTIPropertyGrid: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: TTIPropertyGrid

OldNewLine
1+**TIPropertyGrid** ![](/wiki-images/d/d5/Ttipropertygrid.png) belongs to the group of [[RTTI tab|RTTI Controls]]. It acts like the object inspector in the Lazarus IDE:
2+
3+- Simply drop it onto a form, maybe align it to the left side of the form (`TIPropertyGrid1.Align := alLeft`).
4+- In property `TIObject`, select the name of the control for which the properties should be displayed. The combobox lists all controls accessible. Additionally, the form itself can be selected by typing `TIPropertyGrid1.TIObject := self`.
5+- Use the `Filter` property if some data types should be excluded. Setting `TIPropertyGrid1.Filter := [tkClass]`, for example, lists only properties which are classes.
6+- The `TIPropertyGrid` not only diplays properties, it also allows to change them: Any value changed in the `TIPropertyGrid` is applied to the linked object.
7+
8+---
9+*From the Free Pascal wiki, page "TTIPropertyGrid", as it stood on 2020-10-05 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history