mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 22:09:28 +02:00
lcl: remove dbctrls.ExtractFieldName since it is not needed anymore (db.ExtractFieldName already implemented)
git-svn-id: trunk@43477 -
This commit is contained in:
parent
e35c0db3e2
commit
f8ca4d297e
@ -1283,10 +1283,6 @@ type
|
||||
property VisibleButtons;
|
||||
property Images;
|
||||
end;
|
||||
|
||||
|
||||
// ToDo: Move this to db.pp
|
||||
function ExtractFieldName(const Fields: string; var StartPos: Integer): string;
|
||||
|
||||
procedure ChangeDataSource(AControl: TControl; Link: TDataLink;
|
||||
NewDataSource: TDataSource);
|
||||
@ -1321,17 +1317,6 @@ begin
|
||||
RegField(AFieldClasses[I]);
|
||||
end;
|
||||
|
||||
function ExtractFieldName(const Fields: string; var StartPos: Integer): string;
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
i:=StartPos;
|
||||
while (i<=Length(Fields)) and (Fields[i]<>';') do Inc(i);
|
||||
Result:=Trim(Copy(Fields,StartPos,i-StartPos));
|
||||
if (i<=Length(Fields)) and (Fields[i]=';') then Inc(i);
|
||||
StartPos:=i;
|
||||
end;
|
||||
|
||||
procedure ChangeDataSource(AControl: TControl; Link: TDataLink;
|
||||
NewDataSource: TDataSource);
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user