I see in many places in TDPFUITableView.pas that the SectionNumber and RowNumber valriables are declared locally as LongWord type. However, when they are passed to delegates such as OnItemSelect, they are implecitly converted to Integer type because they are declared as Integer arguments in delegates.
TDPFTableViewItemOnSelect = procedure( Sender: TObject; Section: Integer; RowNo: Integer; var CellAccessory: TTableViewCellAccessory ) of object;
Is this intentional?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Babak,
I see in many places in TDPFUITableView.pas that the SectionNumber and RowNumber valriables are declared locally as LongWord type. However, when they are passed to delegates such as OnItemSelect, they are implecitly converted to Integer type because they are declared as Integer arguments in delegates.
TDPFTableViewItemOnSelect = procedure( Sender: TObject; Section: Integer; RowNo: Integer; var CellAccessory: TTableViewCellAccessory ) of object;
Is this intentional?