4
votes
Paginating TListView - Part 3 of 3
Leonardo's blog
– To finish this series of paginating TListViews, I'll show a simple method of automatic assignment of data from a database query to properties of an object.Introducing RTTIDelphi and FreePascal provides the ability to get and set the values of object's properties at run-time, this is called Run Time Type Information, RTTI for short. This allows a great deal of flexibility at the moment of reducing code size and automating repetitive tasks.In the last example, the function GetCurrentPage executes a database query, then iterates trough it's dataset assigning each property of each item the ...
Statistics
|
Visits by Source |
User Actions |




