You've already forked lazarus-ccr
RxFPC:fix export memo fields to spreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6266 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -304,6 +304,7 @@ begin
|
||||
Result:=TRxDBLookupCombo.Create(nil);
|
||||
TRxDBLookupCombo(Result).DisplayAllFields:=true;
|
||||
TRxDBLookupCombo(Result).OnClosePopup:=@RxDBLookupComboBox1CloseUp;
|
||||
TRxDBLookupCombo(Result).Style:=rxcsDropDownList;
|
||||
end;
|
||||
|
||||
procedure TlrRxDBLookupComboBox.AfterLoad;
|
||||
|
@ -3782,10 +3782,8 @@ begin
|
||||
if Assigned(C) then
|
||||
begin
|
||||
C.Width := FPropertyStorageLink.Storage.ReadInteger(S1 + sWidth, C.Width);
|
||||
C.Visible := FPropertyStorageLink.Storage.ReadInteger(S1 +
|
||||
sVisible, Ord(C.Visible)) = 1;
|
||||
C.Index := Min(FPropertyStorageLink.Storage.ReadInteger(S1 + sIndex, C.Index),
|
||||
Columns.Count - 1);
|
||||
C.Visible := FPropertyStorageLink.Storage.ReadInteger(S1 + sVisible, Ord(C.Visible)) = 1;
|
||||
C.Index := Min(FPropertyStorageLink.Storage.ReadInteger(S1 + sIndex, C.Index), Columns.Count - 1);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
@ -159,7 +159,8 @@ begin
|
||||
begin
|
||||
if Assigned(C.Field) then
|
||||
begin
|
||||
S:=C.Field.DisplayText;
|
||||
//S:=C.Field.DisplayText;
|
||||
S:=THackRxDBGrid(FRxDBGrid).GetFieldDisplayText(C.Field, C);
|
||||
if (C.KeyList.Count > 0) and (C.PickList.Count > 0) then
|
||||
begin
|
||||
J := C.KeyList.IndexOf(S);
|
||||
|
Reference in New Issue
Block a user