to hitman00726
笔误,那就是你的电脑放的位置要找风水先生来看看才行,下面是我的控件部分代码,
unit EXPack.CHNDBDropDownManage{$IFDEF CIL}platform{$ENDIF};
interface
uses
Windows, SysUtils, Messages, Classes, DB, DBCtrls, Forms, Variants, EXPack.CHNMatch{$IFDEF CIL}, WinUtils{$ENDIF};
type
TCHNDBDropDownManage = class;
TSortDirection = (sdAscending, sdDescending, sdNone);
TSortedListEntry = record
Str: string
//这是string
FObject: TObject;
end;
PSortedListEntry = ^TSortedListEntry;
TSortedList = class(TList)
public
function GetItem(const I: Integer): PSortedListEntry;
procedure Reset;
end;
TMatchData = record
FieldTexts: array of string
//各字段内容 //动态string数组
PinYinWuBis: array of string
//各字段拼音五笔
MatchLeft: Integer
//匹配左
MatchLength: Integer
//匹配长度
MatchColIdx: Integer
//匹配字段号
PYWBSUI: DWord
//表示匹配
MatchID: Integer
//已匹配行序号
RecNo: Integer;
end;
PMatchData = ^TMatchData;
TMatchSortPoint = class(TObject)
public
MatchData: PMatchData;
IsCurRow: Boolean;
end;
TFastMatchData = record
Text: string;
Row: Integer;
Count: Integer;
end;
TSuperPosStr = record
Left: Integer;
Length: Integer;
end;
TDDMColumn = class(TCollectionItem)
private
FCaption: string;
FWidth: Integer;
从D7~TD.net都通过编译,控件完全正常使用,正准备贴上网