DELPHI7中 TObjectList sort排序问题
摘要:
网上收集了一点东西TOBJECTLIST里,有自带的排序功能TLIST,TSTRINGLIST也有,MS是一样的SORT里有一个参数: Compare:TListSortCompare那我们先了解一下 TListSortCompare typeHELP原文:TListSortCompare is the type for callbacks that compare two items in a list.即TListSortCompare 是一个比较两个列表项的的回调类型不知道这么翻译行不行,但意思就是返回一个值来表示LIST中两项的大小定义:(这个传入的是两项的指针)type TListS 阅读全文
posted @ 2013-06-27 13:00 neights 阅读(2227) 评论(0) 推荐(1) 编辑