总 提示else found 该怎么写呀?
Function CustomSortProc( Item1, Item2 : TListItem; lParam : LongInt):Integer; stdcall;
begin
Result:=0;
if (Item1=nil)or(Item2=nil)then
exit;
if lParam = 0 then result := CompareText(Item1.Caption,Item2.Caption else if lparam > 0 then
result := CompareText(Item1.SubItems[Lparam-1],Item2.SubItems[Lparam-1]);
Result:= Result * Item1.ListView.Column[lParam].Tag ;end;
Function CustomSortProc( Item1, Item2 : TListItem; lParam : LongInt):Integer; stdcall;
begin
Result:=0;
if (Item1=nil)or(Item2=nil)then
exit;
if lParam = 0 then result := CompareText(Item1.Caption,Item2.Caption else if lparam > 0 then
result := CompareText(Item1.SubItems[Lparam-1],Item2.SubItems[Lparam-1]);
Result:= Result * Item1.ListView.Column[lParam].Tag ;end;
解决方案 »
- 用remobjects开发三层是做datasnap还是用data abstract比较好?
- 关于学校的收费软件
- [基础问题 --关于 运行时刻 动态创建一组对象-- ]
- 如何实现窗体带参数高分急需啊
- 我用Wise Installation System9.02 做程序打包的时候出现下面的问题
- 是学delphi8,还是学c#与asp.net?
- 初用Delphi,问个弱弱的问题
- delphi中的tcxgrid:怎样实现当鼠标点击某行时,改行背景色加深?
- 关于用Delphi开发ISAPI应用的执行效率问题。
- 关于SQLServer的小问题???
- TWebBrowse加载一个网页之后, 希望用户在点击网页中某一链接时, 就打开一个from, 这个不知如何实现?
- DBGirdEh如何显示access的备注类型
后面少个括号,应该是
result := CompareText(Item1.Caption, Item2.Caption)