TTIPropertyGrid
TIPropertyGrid
belongs to the group of RTTI Controls. It acts like the object inspector in the Lazarus IDE:
- Simply drop it onto a form, maybe align it to the left side of the form (
TIPropertyGrid1.Align := alLeft). - 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 typingTIPropertyGrid1.TIObject := self. - Use the
Filterproperty if some data types should be excluded. SettingTIPropertyGrid1.Filter := [tkClass], for example, lists only properties which are classes. - The
TIPropertyGridnot only diplays properties, it also allows to change them: Any value changed in theTIPropertyGridis applied to the linked object.
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.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
