You've already forked lazarus-ccr
RxFPC: fix compile with latest lazarus - utf8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4949 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -67,11 +67,18 @@ begin
|
||||
|
||||
if ADataSet is TZAbstractRODataset then
|
||||
begin
|
||||
TZAbstractRODataset(ADataSet).SortedFields:=FixFieldName(FieldName);
|
||||
if Asc then
|
||||
FieldName := FixFieldName(FieldName) + ' Asc'
|
||||
else
|
||||
FieldName := FixFieldName(FieldName) + ' Desc';
|
||||
TZAbstractRODataset(ADataSet).SortedFields:=FieldName;
|
||||
{
|
||||
|
||||
|
||||
if Asc then
|
||||
TZAbstractRODataset(ADataSet).SortType:=stAscending
|
||||
else
|
||||
TZAbstractRODataset(ADataSet).SortType:=stDescending;
|
||||
TZAbstractRODataset(ADataSet).SortType:=stDescending;}
|
||||
end;
|
||||
end;
|
||||
|
||||
|
@ -247,7 +247,7 @@ function ShowRxDBPopUpForm(AControl:TWinControl; ADataSet:TDataSet;
|
||||
procedure FillPopupWidth(APopUpFormOptions:TPopUpFormOptions; ARxPopUpForm:TPopUpForm);
|
||||
|
||||
implementation
|
||||
uses dbutils, math, LCLProc;
|
||||
uses dbutils, math, LCLProc, LazUTF8;
|
||||
|
||||
function ShowRxDBPopUpForm(AControl:TWinControl; ADataSet:TDataSet;
|
||||
AOnPopUpCloseEvent:TPopUpCloseEvent; APopUpFormOptions:TPopUpFormOptions;
|
||||
|
Reference in New Issue
Block a user