使用comctrls单元 在帮助主题的索引里输入“Getitemat” 找到定义: function GetItemAt(X, Y: Integer): TListItem; 然后在TListItem上点鼠标 得到如下内容:TListItem is an individual item of a TListView control. Unitcomctrls//*******注意这里**********DescriptionUse TListItem to specify the appearance and data associations of an item in a list view. All the list items of the list view are collected by a TListItems object to make up the Items property of the TListView control.
ListView1.GetItemAt(10,10),返回ListView1中坐标(10,10)处所在的列表项(TListItem)。—————————————————————————————————
宠辱不惊,看庭前花开花落,去留无意;毁誉由人,望天上云卷云舒,聚散任风。
—————————————————————————————————
在帮助主题的索引里输入“Getitemat”
找到定义:
function GetItemAt(X, Y: Integer): TListItem;
然后在TListItem上点鼠标
得到如下内容:TListItem is an individual item of a TListView control. Unitcomctrls//*******注意这里**********DescriptionUse TListItem to specify the appearance and data associations of an item in a list view. All the list items of the list view are collected by a TListItems object to make up the Items property of the TListView control.